\GoogleTracking
Synopsis
class GoogleTracking
{
- // members
- private static bool $self_hosted_tracking_js;
- private static $tracking_id;
Members
private
- $self_hosted_tracking_js
—
bool
Use this flag if you have a restricted content policy that prevents in-line javascript or retrieval of javascript from other domains (such as directly sourcing the universal tracking code from Google). - $tracking_id
—
string
This is the Google tracking ID that is passed to the google tracking JavaScript. This typically looks like UA-XXXXXXXX-X.