Skip to Content

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).

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?