Skip to Content
Menu

ga_send_pageview()

Sends a pageview to Google Analytics via the server-side.

PHP July 13, 2017

Usage

PHP
nebula()->ga_send_pageview($location, $title, $array)

Parameters

$location
(Optional) (String) Location of the page
Default: Current page path

$title
(Optional) (String) The page title
Default: Current page title

$array
(Optional) (Array) An array of additional options
Default: None

Parameter Notes

Refer to this documentation for parameters.

Request or provide clarification »

Additional Notes

Use this hit builder by Google to assist preparing options.

Note: Be careful when using this function that the standard JS pageview function doesn’t duplicate pageviews (and thus reducing the bounce rate to 0).

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!

    Source File

    This function was not found in /libs/Utilities/Analytics.php. Please report this error.

    No Hooks

    This function does not have any filters or actions available. Request one?

    Override

    This function can not be short-circuited with an override filter. Request one?