\ShopGoogleAnalytics
This is really only used for configuration
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class ShopGoogleAnalytics
extends Object
{
- // members
- private static string $web_property_id = '';
- private static bool $disable_on_dev = true;
- private static string $no_sku_prefix = 'Product-';
- private static bool $disable_pageviews = false;
- private static bool $use_requirements = true;
- private static string $tracking_type = 'Classic';
- private static array $tracking_code = ;
- // methods
- public static string get_property_id()
Hierarchy
Extends
- Object
Members
private
Methods
public
- get_property_id() — It's preferable to use this as an access point in case we add support for multiple property id's in the future (subsites for example)