0% found this document useful (0 votes)
13 views8 pages

Arbonne - Ecommerce Tracking Implementation v5

The document outlines the implementation of ecommerce tracking for Arbonne, detailing the necessary variables and scripts for various events such as 'view_item', 'add_to_cart', 'view_cart', 'remove_from_cart', 'begin_checkout', and 'purchase'. It emphasizes the importance of removing existing dataLayers to prevent event duplication and provides specific instructions on replacing placeholders with dynamic values. References to Google documentation are included for further guidance on ecommerce tracking setup.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views8 pages

Arbonne - Ecommerce Tracking Implementation v5

The document outlines the implementation of ecommerce tracking for Arbonne, detailing the necessary variables and scripts for various events such as 'view_item', 'add_to_cart', 'view_cart', 'remove_from_cart', 'begin_checkout', and 'purchase'. It emphasizes the importance of removing existing dataLayers to prevent event duplication and provides specific instructions on replacing placeholders with dynamic values. References to Google documentation are included for further guidance on ecommerce tracking setup.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Arbonne - Ecommerce Tracking

Implementation
August 2024

About the Document


The following document describes the variables to be used in each event. The script must be copied exactly
as indicated in each step and, if applicable, replaced with dynamic values depending on the user's selection.

All dataLayers related to ecommerce for Google Analytics Universal and gtags associated with
ecommerce found on the site throughout the flow must be removed to avoid duplication of the
events we will implement now.

Google Documentation: use only as a reference; the codes to be implemented are those described in
the document.

https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag&hl=es-
419

https://developers.google.com/analytics/devguides/collection/ga4/reference/events?sjid=15716125561
40489916-SA&client_type=gtag&hl=es-419#view_item

view_item

<script>
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: 'view_item',
ecommerce: {
currency: '%currency%', // Replace with selected currency
value: %value%, // (price * quantity)
items: [{
item_name: '%item_name%', // Replace with product name
item_id: '%item_id%', // Replace with product ID
price: %price%, // Replace with product price
item_brand: '%item_brand%', // Replace with product brand
item_category: '%item_category%', // Replace with product category
item_category2: '%item_category2', // Replace with product subcategory
item_category3: '%item_category3', // Replace with product subcategory
item_variant: '%item_variant%', // Replace with product variant
quantity: %quantity%, // Replace with quantity of products
discount: %discount%, // Replace with the discount of the product
isASVPProduct: '%true || false%', // Replace with the correct category
}]
}
});
</script>

add_to_cart
<script>
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: 'add_to_cart',
ecommerce: {
currency: '%currency%', // Replace with selected currency
value: %value%, // (price * quantity)
items: [{
item_name: '%item_name%', // Replace with product name
item_id: '%item_id%', // Replace with product ID
price: %price%, // Replace with product price
item_brand: '%item_brand%', // Replace with product brand
item_category: '%item_category%', // Replace with product category
item_category2: '%item_category2', // Replace with product subcategory
item_category3: '%item_category3', // Replace with product subcategory
item_variant: '%item_variant%', // Replace with product variant
quantity: %quantity%, // Replace with quantity of products
discount: %discount%, // Replace with the discount of the product
isASVPProduct: '%true || false%', // Replace with the correct category
isReplenishMeProduct: '%true || false%', // Replace with the correct category
frequency: 'false || number of days', // Replace with the correct frequency
}]
}
});
</script>

view_cart

<script>
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: 'view_cart',
ecommerce: {
currency: '%currency%', // Replace with selected currency
value: %value%, // (price * quantity)
items: [{
item_name: '%item_name%', // Replace with product name
item_id: '%item_id%', // Replace with product ID
price: %price%, // Replace with product price
item_brand: '%item_brand%', // Replace with product brand
item_category: '%item_category%', // Replace with product category
item_category2: '%item_category2', // Replace with product subcategory
item_category3: '%item_category3', // Replace with product subcategory
item_variant: '%item_variant%', // Replace with product variant
quantity: %quantity%, // Replace with quantity of products
discount: %discount%, // Replace with the discount of the product
isASVPProduct: '%true || false%', // Replace with the correct category
isReplenishMeProduct: '%true || false%', // Replace with the correct category
frequency: 'false || number of days', // Replace with the correct frequency
}]
}
});
</script>

remove_from_cart

<script>
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: 'remove_from_cart',
ecommerce: {
currency: '%currency%', // Replace with selected currency
value: %value%, // (price * quantity)
items: [{
item_name: '%item_name%', // Replace with product name
item_id: '%item_id%', // Replace with product ID
price: %price%, // Replace with product price
item_brand: '%item_brand%', // Replace with product brand
item_category: '%item_category%', // Replace with product category
item_category2: '%item_category2', // Replace with product subcategory
item_category3: '%item_category3', // Replace with product subcategory
item_variant: '%item_variant%', // Replace with product variant
quantity: %quantity%, // Replace with quantity of products
discount: %discount%, // Replace with the discount of the product
isASVPProduct: '%true || false%', // Replace with the correct category
isReplenishMeProduct: '%true || false%', // Replace with the correct category
frequency: 'false || number of days', // Replace with the correct frequency
}]
}
});
</script>

begin_checkout

<script>
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: 'begin_checkout',
ecommerce: {
currency: '%currency%', // Replace with selected currency
value: %value%, // (price * quantity)
coupon: '%coupon%', // Replace with coupon applied
isCreatedFromRecommendedCart: '%true || false%', // Replace with the correct
option
items: [{
item_name: '%item_name%', // Replace with product name
item_id: '%item_id%', // Replace with product ID
price: %price%, // Replace with product price
item_brand: '%item_brand%', // Replace with product brand
item_category: '%item_category%', // Replace with product category
item_category2: '%item_category2', // Replace with product subcategory
item_category3: '%item_category3', // Replace with product subcategory
item_variant: '%item_variant%', // Replace with product variant
quantity: %quantity%, // Replace with quantity of products
discount: %discount%, // Replace with the discount of the product
isASVPProduct: '%true || false%', // Replace with the correct category
isReplenishMeProduct: '%true || false%', // Replace with the correct category
frequency: 'false || number of days', // Replace with the correct frequency
}]
}
});
</script>

purchase

<script>
dataLayer.push({ ecommerce: null });
dataLayer.push({
event: 'purchase',
ecommerce: {
currency: '%currency%', // Replace with selected currency
value: %value%, // (price * quantity)
coupon: '%coupon%', // Replace with coupon applied
transaction_id: %'transaction_id'%, // Replace with transaction id
tax: %tax%, // Replace with tax
shipping: %shipping%, // Replace with shipping cost
payment_type: '%payment_type%', // replace with payment method
shipping_tier: 'shipping_tier', // replace with shipping method
split_payment: '%true || false%', // Replace with the correct payment type
isCreatedFromRecommendedCart: '%true || false%', // Replace with the correct
option
items: [{
item_name: '%item_name%', // Replace with product name
item_id: '%item_id%', // Replace with product ID
price: %price%, // Replace with product price
item_brand: '%item_brand%', // Replace with product brand
item_category: '%item_category%', // Replace with product category
item_category2: '%item_category2', // Replace with product subcategory
item_category3: '%item_category3', // Replace with product subcategory
item_variant: '%item_variant%', // Replace with product variant
quantity: %quantity%, // Replace with quantity of products
discount: %discount%, // Replace with the discount of the product
isASVPProduct: '%true || false%', // Replace with the correct category
isReplenishMeProduct: '%true || false%', // Replace with the correct category
frequency: 'false || number of days', // Replace with the correct frequency
}]
}
});
</script>

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy