Class Google_Analytics
Google Analytics integratie
Namespace: SIW\Modules
Copyright: 2019 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at modules/google-analytics.php
Copyright: 2019 SIW Internationale Vrijwilligersprojecten
Since: 3.0.0
Located at modules/google-analytics.php
Methods summary
public static
|
|
protected
|
|
protected
boolean
|
|
public
|
|
protected
string
|
|
protected
array
|
|
protected
array
|
#
get_product_data( WC_Product $product, WC_Product_Variation $variation = null )
Geeft productdata voor GA terug |
protected
array
|
|
public
|
#
track_add_to_cart( string $cart_item_key, integer $product_id, integer $quantity, integer $variation_id, array $variation, array $cart_item_data )
Track toevoegen aan cart |
public
string
|
#
add_variation_id_to_cart_item_remove_link( string $link, string $cart_item_key )
Voegt variatie-id toe aan remove from cart link |
protected
|
|
protected
array
|
|
public
array
|
|
public
array
|
#
set_excluded_inline_js_content( array $content )
Sluit inline JS voor Ecommerce uit van combineren |
Constants summary
string |
SESSION_SCRIPT_KEY
Key voor WooCommerce-sessie |
#
'siw_enhanced_ecommerce_script'
|
Properties summary
protected
string
|
$property_id
Google Analytics property ID |
|
protected
array
|
$tracker_settings
Instellingen voor tracker |
#
[
'anonymizeIp' => true,
'forceSSL' => true,
]
|