SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
INTERNAL: Google Confidential and Proprietary
Enhanced Ecommerce Tracking
Abraham, E. Demas
Enhanced Ecommerce - Web Tracking (analytics.js)
The enhanced ecommerce plug-in for analytics.js enables the measurement
of user interactions with products on ecommerce websites across the user's
shopping experience, including: product impressions, product clicks,
viewing product details, adding a product to a shopping cart, initiating
the checkout process, transactions, and refunds.
Enhanced Ecommerce - Web Tracking (analytics.js)
Data Types and Actions
There are multiple types of ecommerce data you can send using analytics.js: impression data,
product data, promotion data, and action data.
Enhanced Ecommerce - Web Tracking (analytics.js)
Data Types and Actions - Impression Data
VALUE TYPE REQUIRED DESCRIPTION
id String Yes* The product ID or SKU (e.g. P67890). *Either this field or name must be set.
name String Yes* The name of the product (e.g. Android T-Shirt). *Either this field or id must be set.
list String No The list or collection to which the product belongs (e.g. Search Results)
brand String No The brand associated with the product (e.g. Google).
category String No The category to which the product belongs (e.g. Apparel). Use / as a delimiter to specify
up to 5-levels of hierarchy (e.g. Apparel/Mens/T-Shirts).
variant String No The variant of the product (e.g. Black).
position Number No The product's position in a list or collection (e.g. 2).
price Currency No The price of a product (e.g. 29.20).
Represents information about a product that has been viewed. It is referred to as an impressionFieldObject
and contains the following values: E.g. Search Results
Enhanced Ecommerce - Web Tracking (analytics.js)
Data Types and Actions - Product Data
Product data represents individual products that were viewed, added to the shopping cart, etc. It is referred to
as a productFieldObject and contains the following values:
VALUE TYPE REQUIRED DESCRIPTION
id String Yes* The product ID or SKU (e.g. P67890). *Either this field or name must be set.
name String Yes* The name of the product (e.g. Android T-Shirt). *Either this field or id must be set.
brand String No The brand associated with the product (e.g. Google).
category String No The category to which the product belongs (e.g. Apparel). Use / as a delimiter to specify up to 5-levels of
hierarchy (e.g. Apparel/Mens/T-Shirts).
variant String No The variant of the product (e.g. Black).
price Currency No The price of a product (e.g. 29.20).
quantity Number No The quantity of a product (e.g. 2).
coupon String No The coupon code associated with a product (e.g. SUMMER_SALE13).
position Number No The product's position in a list or collection (e.g. 2).
Enhanced Ecommerce - Web Tracking (analytics.js)
Data Types and Actions - Promotion Data
Represents information about a promotion that has been viewed. It is referred to a promoFieldObject and contains
the following values:
VALUE TYPE REQUIRED DESCRIPTION
id String Yes* The promotion ID (e.g. PROMO_1234). *Either this field or name must be set.
name String Yes* The name of the promotion (e.g. Summer Sale). *Either this field or id must be set.
creative String No The creative associated with the promotion (e.g. summer_banner2).
position String No The position of the creative (e.g. banner_slot_1).
Enhanced Ecommerce - Web Tracking (analytics.js)
Data Types and Actions - Action Data
Represents information about an ecommerce related action that has taken place. It is referred to as an
actionFieldObject and contains the following values:
VALUE TYPE REQUIRED DESCRIPTION
id String Yes* The transaction ID (e.g. T1234). *Required if the action type is purchase or refund.
affiliation String No The store or affiliation from which this transaction occurred (e.g. Google Store).
revenue Currency No Specifies the total revenue or grand total associated with the transaction (e.g. 11.99). This value may include
shipping, tax costs, or other adjustments to total revenue that you want to include as part of your revenue
calculations. Note: if revenue is not set, its value will be automatically calculated using the product quantity and
price fields of all products in the same hit.
Enhanced Ecommerce - Web Tracking (analytics.js)
Data Types and Actions - Action Data
tax Currency No The total tax associated with the transaction.
shipping Currency No The shipping cost associated with the transaction.
coupon String No The transaction coupon redeemed with the transaction.
list String No The list that the associated products belong to. Optional on click or detail actions.
step Number No A number representing a step in the checkout process. Optional on checkout actions.
option String No Additional field for checkout and checkout_option actions that can describe option information on the checkout page, like
selected payment method.
Enhanced Ecommerce - Web Tracking (analytics.js)
Product and Promotion Actions
Did you notice? Something missing?
Actions specify how to interpret product and promotion data that you send to
Google Analytics
Impression Actions? No need! It’s an impression, so make a good first
impression.
Enhanced Ecommerce - Web Tracking (analytics.js)
ACTION DESCRIPTION
click A click on a product or product link for one or more products.
detail A view of product details.
add Adding one or more products to a shopping cart.
remove Remove one or more products from a shopping cart.
checkout Initiating the checkout process for one or more products.
checkout_option Sending the option value for a given checkout step.
purchase The sale of one or more products.
refund The refund of one or more products.
promo_click A click on an internal promotion.
Below are the various actions that can be performed on product and promotion data:
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Product Impression
In this example, a user first views the product in a list of search results. To measure this
product impression, use the ec:addImpression command and provide the product
details in an impressionFieldObject:
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Product Impression
ga('create', 'UA-XXXXX-Y');
ga('require', 'ec'); // Load enhanced ecommerce plugin
ga('ec:addImpression', {
'id': 'P12345', // Product details are provided in an impressionFieldObject.
'name': 'Android Warhol T-Shirt',
'category': 'Apparel/T-Shirts',
'brand': 'Google',
'variant': 'black',
'list': 'Search Results',
'position': 1 // 'position' indicates the product position in the list.
});
ga('ec:addImpression', {
'id': 'P67890',
'name': 'YouTube Organic T-Shirt',
'type': 'view',
'category': 'Apparel/T-Shirts',
'brand': 'YouTube',
'variant': 'gray',
'list': 'Search Results',
'position': 2
});
ga('send', 'pageview');
}
addImpression:
This is a result
set of multiple
products,
therefore should
be in a for loop
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Product Click
Next, a user expresses interest in this particular product by clicking on the product listing
to view more details.
To measure that product click, use ec:addProduct and ec:setAction
“
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Product Click
// Called when a link to a product is clicked.
function onProductClick() {
ga('ec:addProduct', {
'id': 'P12345',
'name': 'Android Warhol T-Shirt',
'category': 'Apparel',
'brand': 'Google',
'variant': 'black',
'position': 1
});
ga('ec:setAction', 'click', {list: 'Search Results'});
// Send click with an event, then send user to product page.
ga('send', 'event', 'UX', 'click', 'Results', {
hitCallback: function() {
document.location = '/product_details?id=P12345';
}
});
}
The product link could then be
implemented like this:
<a href="/next-page.html"
onclick="onProductClick();
return !ga.loaded;">
T-Shirt
</a>
”
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Product Details View
After clicking on the product listing, a user views the product details page.
To measure this product details view, use ec:addProduct and ec:setAction to specify
a detail action:
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Product Details View
ga('create', 'UA-XXXXX-Y');
ga('require', 'ec');
ga('ec:addProduct', {
'id': 'P12345',
'name': 'Android Warhol T-Shirt',
'category': 'Apparel',
'brand': 'Google',
'variant': 'black'
});
ga('ec:setAction', 'detail');
ga('send', 'pageview'); // Send product details view with the initial pageview.
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring an Addition or Removal from Cart
The user expresses intent to buy the item by adding it to a shopping cart.
To measure the addition or removal of a product from a shopping cart, use ec:addProduct
and set the type add or remove:
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring an Addition or Removal from Cart
// Called when a product is added to a shopping cart.
function addToCart(product) {
ga('ec:addProduct', {
'id': product.id,
'name': product.name,
'category': product.category,
'brand': product.brand,
'variant': product.variant,
'price': product.price,
'quantity': product.qty
});
ga('ec:setAction', 'add'); // for removal use remove
ga('send', 'event', 'UX', 'click', 'add to cart'); // Send data using an event.
}
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring Checkout Process
Now the user is ready to begin the checkout process, which in this example includes two steps, each on separate
pages:
1. Add payment details (payment.html).
2. Add shipping details (shipping.html).
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring Checkout Process
First, make sure you’ve properly configured a checkout funnel from within Google analytics under ecommerce
settings.
Enhanced Ecommerce - Web Tracking (analytics.js)
ga('create', 'UA-XXXXX-Y');
ga('require', 'ec');
function checkout(cart) {
for(var i = 0; i < cart.length; i++) {
var product = cart[i];
ga('ec:addProduct', {
'id': product.id,
'name': product.name,
'category': product.category,
'brand': product.brand,
'variant': product.variant,
'price': product.price,
'quantity': product.qty
});
}
}
ga('ec:setAction','checkout', {
'step': 1, // A value of 1 indicates this action is first checkout step.
'option': 'Visa' // Used to specify additional info about a checkout stage, e.g. payment method.
});
ga('send', 'pageview'); // Pageview for payment.html
Implementation: Measuring Checkout Process: Step 1 - Payment
Enhanced Ecommerce - Web Tracking (analytics.js)
ga('create', 'UA-XXXXX-Y');
ga('require', 'ec');
function checkout(cart) {
for(var i = 0; i < cart.length; i++) {
var product = cart[i];
ga('ec:addProduct', {
'id': product.id,
'name': product.name,
'category': product.category,
'brand': product.brand,
'variant': product.variant,
'price': product.price,
'quantity': product.qty
});
}
}
ga('ec:setAction','checkout', {'step': 2});
ga('send', 'pageview'); // Pageview for shipping.html
Implementation: Measuring Checkout Process: Step 2 - Shipping
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring Checkout Process: Step 2 - Shipping - Post selection of shipping Information
In case we don’t have additional information about the shipping option selected when the initial pageview
is sent so this will be handled separately using the ec:setAction to indicate a checkout_option.
// Called when user has completed shipping options.
function onShippingComplete(stepNumber, shippingOption) {
ga('ec:setAction', 'checkout_option', {
'step': stepNumber,
'option': shippingOption
});
ga('send', 'event', 'Checkout', 'Option', {
hitCallback: function() {
// Advance to next page.
}
});
<a href="/next-page.html" onclick="onShippingComplete
(2, 'FedEx'); return !ga.loaded;">Continue</a>
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Transaction
Lastly, the user completes the checkout process and submits their purchase.
To measure the sale of one or more products, use ec:addProduct to add each product, then ec:setAction to specify a
purchase. Transaction level information like total revenue, tax, etc. can be specified via an actionFieldObject. For
example:
Enhanced Ecommerce - Web Tracking (analytics.js)
Implementation: Measuring a Transaction
ga('create', 'UA-XXXXX-Y');
ga('require', 'ec');
ga('set', '&cu', 'EUR'); // Optional: Set tracker currency to Euros
ga('ec:addProduct', {
'id': 'P12345',
'name': 'Android Warhol T-Shirt',
'category': 'Apparel',
'brand': 'Google',
'variant': 'black',
'price': '29.20',
'quantity': 1
});
// Transaction level information is provided via an actionFieldObject.
ga('ec:setAction', 'purchase', {
'id': 'T12345',
'affiliation': 'Google Store - Online',
'revenue': '37.39',
'tax': '2.85',
'shipping': '5.34',
'coupon': 'SUMMER2013' // User added a coupon at checkout.
});
ga('send', 'pageview'); // Send transaction data with initial pageview.
Read More
https://developers.google.
com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce

Weitere ähnliche Inhalte

Was ist angesagt?

Periscopix presentation
Periscopix presentationPeriscopix presentation
Periscopix presentation
JamieCluett
 

Was ist angesagt? (12)

Periscopix presentation
Periscopix presentationPeriscopix presentation
Periscopix presentation
 
Magento 2 Reward Points
Magento 2 Reward PointsMagento 2 Reward Points
Magento 2 Reward Points
 
PHPro Pieter Caluwaerts
PHPro Pieter CaluwaertsPHPro Pieter Caluwaerts
PHPro Pieter Caluwaerts
 
Agile CRM - CRM and Marketing Automation for SaaS Companies
Agile CRM - CRM and Marketing Automation for SaaS CompaniesAgile CRM - CRM and Marketing Automation for SaaS Companies
Agile CRM - CRM and Marketing Automation for SaaS Companies
 
Sales booster
Sales booster Sales booster
Sales booster
 
Reinvent your var business
Reinvent your var businessReinvent your var business
Reinvent your var business
 
Key Insights From Funnels - Enhanced Ecommerce For Google Analytics
Key Insights From Funnels - Enhanced Ecommerce For Google AnalyticsKey Insights From Funnels - Enhanced Ecommerce For Google Analytics
Key Insights From Funnels - Enhanced Ecommerce For Google Analytics
 
Retail Store Manager App for iPhone & iPad by Supernova Tech
Retail Store Manager App for iPhone & iPad by Supernova TechRetail Store Manager App for iPhone & iPad by Supernova Tech
Retail Store Manager App for iPhone & iPad by Supernova Tech
 
Antonia Heise - eCommerce Day Perú Online [Live] Experience
Antonia Heise - eCommerce Day Perú Online [Live] ExperienceAntonia Heise - eCommerce Day Perú Online [Live] Experience
Antonia Heise - eCommerce Day Perú Online [Live] Experience
 
Online sales quoting &amp; proposal software
Online sales quoting &amp; proposal softwareOnline sales quoting &amp; proposal software
Online sales quoting &amp; proposal software
 
Magento live official
Magento live officialMagento live official
Magento live official
 
Inventory For Reseller - Inventory Management App in iPhone & iPad
Inventory For Reseller - Inventory Management App in iPhone & iPadInventory For Reseller - Inventory Management App in iPhone & iPad
Inventory For Reseller - Inventory Management App in iPhone & iPad
 

Andere mochten auch

Andere mochten auch (15)

12121212
1212121212121212
12121212
 
Guía de Enhanced Ecommerce
Guía de Enhanced EcommerceGuía de Enhanced Ecommerce
Guía de Enhanced Ecommerce
 
Enhanced ecommerce by Robrecht De Nul, OMCollective
Enhanced ecommerce by Robrecht De Nul, OMCollective Enhanced ecommerce by Robrecht De Nul, OMCollective
Enhanced ecommerce by Robrecht De Nul, OMCollective
 
What about enhanced e-commerce?
What about enhanced e-commerce?What about enhanced e-commerce?
What about enhanced e-commerce?
 
Marketing analytics & brand measurement - Ahmad Abdullah - Google
Marketing analytics & brand measurement - Ahmad Abdullah - GoogleMarketing analytics & brand measurement - Ahmad Abdullah - Google
Marketing analytics & brand measurement - Ahmad Abdullah - Google
 
Jan Tichý - Enhanced Ecommerce
Jan Tichý - Enhanced EcommerceJan Tichý - Enhanced Ecommerce
Jan Tichý - Enhanced Ecommerce
 
Google Analytics Enhanced Ecommerce Reports - Superweek 2015
Google Analytics Enhanced Ecommerce Reports - Superweek 2015Google Analytics Enhanced Ecommerce Reports - Superweek 2015
Google Analytics Enhanced Ecommerce Reports - Superweek 2015
 
Google Analytics: Best Practice For Ecommerce - Jon Hibbitt
Google Analytics: Best Practice For Ecommerce - Jon HibbittGoogle Analytics: Best Practice For Ecommerce - Jon Hibbitt
Google Analytics: Best Practice For Ecommerce - Jon Hibbitt
 
Content Engagement with Google Analytics (Emerce Conversion 2015)
Content Engagement with Google Analytics (Emerce Conversion 2015)Content Engagement with Google Analytics (Emerce Conversion 2015)
Content Engagement with Google Analytics (Emerce Conversion 2015)
 
Using Enhanced Ecommerce for Non-ecommerce @ MeasureCamp Cardiff
Using Enhanced Ecommerce for Non-ecommerce @ MeasureCamp CardiffUsing Enhanced Ecommerce for Non-ecommerce @ MeasureCamp Cardiff
Using Enhanced Ecommerce for Non-ecommerce @ MeasureCamp Cardiff
 
Google Analytics: Enhanced Ecommerce Tracking
Google Analytics: Enhanced Ecommerce TrackingGoogle Analytics: Enhanced Ecommerce Tracking
Google Analytics: Enhanced Ecommerce Tracking
 
The History of F-commerce: How Facebook is changing online retail
The History of F-commerce: How Facebook is changing online retailThe History of F-commerce: How Facebook is changing online retail
The History of F-commerce: How Facebook is changing online retail
 
Enhanced Ecommerce Google Analytics Nordic Conference 2015
Enhanced Ecommerce Google Analytics Nordic Conference 2015Enhanced Ecommerce Google Analytics Nordic Conference 2015
Enhanced Ecommerce Google Analytics Nordic Conference 2015
 
Page Rank Interno + Screaming Frog + R en Measure Camp Madrid 2016
Page Rank Interno + Screaming Frog + R en Measure Camp Madrid 2016Page Rank Interno + Screaming Frog + R en Measure Camp Madrid 2016
Page Rank Interno + Screaming Frog + R en Measure Camp Madrid 2016
 
Google Analytics Basics
Google Analytics BasicsGoogle Analytics Basics
Google Analytics Basics
 

Ähnlich wie Enhanced ecommerce tracking

Quick Start Guide Full Analytics Implementation
Quick Start Guide   Full Analytics ImplementationQuick Start Guide   Full Analytics Implementation
Quick Start Guide Full Analytics Implementation
Matt Lillig
 
E commerce, social and campaign tracking - web analytics fundamentals
E commerce, social and campaign tracking - web analytics fundamentalsE commerce, social and campaign tracking - web analytics fundamentals
E commerce, social and campaign tracking - web analytics fundamentals
Srikanth Dhondi
 
Shopping Campaigns and AdWords API
Shopping Campaigns and AdWords APIShopping Campaigns and AdWords API
Shopping Campaigns and AdWords API
marcwan
 
Conversion Tracking Tutorial
Conversion Tracking TutorialConversion Tracking Tutorial
Conversion Tracking Tutorial
Nick ONeill
 
ContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docxContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docx
maxinesmith73660
 
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docxsrcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
rafbolet0
 

Ähnlich wie Enhanced ecommerce tracking (20)

13121313
1312131313121313
13121313
 
Monetate Implementation Cheat Sheet
Monetate Implementation Cheat SheetMonetate Implementation Cheat Sheet
Monetate Implementation Cheat Sheet
 
Quick Start Guide Full Analytics Implementation
Quick Start Guide   Full Analytics ImplementationQuick Start Guide   Full Analytics Implementation
Quick Start Guide Full Analytics Implementation
 
PLA - Dashboard
PLA - DashboardPLA - Dashboard
PLA - Dashboard
 
PLA dashboard
PLA dashboardPLA dashboard
PLA dashboard
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web Creations
 
Vending-machine.pdf
Vending-machine.pdfVending-machine.pdf
Vending-machine.pdf
 
E commerce, social and campaign tracking - web analytics fundamentals
E commerce, social and campaign tracking - web analytics fundamentalsE commerce, social and campaign tracking - web analytics fundamentals
E commerce, social and campaign tracking - web analytics fundamentals
 
Grocery app aj
Grocery app ajGrocery app aj
Grocery app aj
 
Shopping Campaigns and AdWords API
Shopping Campaigns and AdWords APIShopping Campaigns and AdWords API
Shopping Campaigns and AdWords API
 
Golden punchcard. Mariia Bocheva. Superweek 2018.
Golden punchcard. Mariia Bocheva. Superweek 2018.  Golden punchcard. Mariia Bocheva. Superweek 2018.
Golden punchcard. Mariia Bocheva. Superweek 2018.
 
Conversion Tracking Tutorial
Conversion Tracking TutorialConversion Tracking Tutorial
Conversion Tracking Tutorial
 
Ecommerce website with seo optimization
Ecommerce website with seo optimizationEcommerce website with seo optimization
Ecommerce website with seo optimization
 
Step By Step Analyzing Price Elasticit1.pdf
Step By Step Analyzing Price Elasticit1.pdfStep By Step Analyzing Price Elasticit1.pdf
Step By Step Analyzing Price Elasticit1.pdf
 
ContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docxContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docx
 
Learn Adobe analytics basics - Conversion variables
Learn Adobe analytics basics - Conversion variablesLearn Adobe analytics basics - Conversion variables
Learn Adobe analytics basics - Conversion variables
 
SMX Munich 2018 — Advanced Google Shopping Reporting
SMX Munich 2018 — Advanced Google Shopping ReportingSMX Munich 2018 — Advanced Google Shopping Reporting
SMX Munich 2018 — Advanced Google Shopping Reporting
 
Programming the ExactTarget Marketing Cloud
Programming the ExactTarget Marketing CloudProgramming the ExactTarget Marketing Cloud
Programming the ExactTarget Marketing Cloud
 
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
MeasureCamp #10 - WTF are Related Products in Google Analytics Ecommerce?
 
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docxsrcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
 

Mehr von Etietop Demas

Mehr von Etietop Demas (15)

Mastering the command line for developers by Etietop Demas
Mastering the command line for developers by Etietop DemasMastering the command line for developers by Etietop Demas
Mastering the command line for developers by Etietop Demas
 
Learn react by Etietop Demas
Learn react by Etietop DemasLearn react by Etietop Demas
Learn react by Etietop Demas
 
Google digital marketing
Google digital marketing Google digital marketing
Google digital marketing
 
Basics Digital Marketing
Basics Digital MarketingBasics Digital Marketing
Basics Digital Marketing
 
12121212
1212121212121212
12121212
 
12121212
1212121212121212
12121212
 
12121212
1212121212121212
12121212
 
12121212
1212121212121212
12121212
 
435323234
435323234435323234
435323234
 
12121212
1212121212121212
12121212
 
78787878
7878787878787878
78787878
 
1232232
12322321232232
1232232
 
Google website call conversion (WCC) tracking
Google website call conversion (WCC) tracking Google website call conversion (WCC) tracking
Google website call conversion (WCC) tracking
 
Woocommerce google ecommerce tracking
Woocommerce  google ecommerce trackingWoocommerce  google ecommerce tracking
Woocommerce google ecommerce tracking
 
5 easy steps dynamic remarketing magento
5 easy steps dynamic remarketing magento5 easy steps dynamic remarketing magento
5 easy steps dynamic remarketing magento
 

Kürzlich hochgeladen

Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
sexy call girls service in goa
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
Diya Sharma
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
SofiyaSharma5
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 

Kürzlich hochgeladen (20)

Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine ServiceHot Service (+9316020077 ) Goa  Call Girls Real Photos and Genuine Service
Hot Service (+9316020077 ) Goa Call Girls Real Photos and Genuine Service
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 

Enhanced ecommerce tracking

  • 1. INTERNAL: Google Confidential and Proprietary Enhanced Ecommerce Tracking Abraham, E. Demas
  • 2. Enhanced Ecommerce - Web Tracking (analytics.js) The enhanced ecommerce plug-in for analytics.js enables the measurement of user interactions with products on ecommerce websites across the user's shopping experience, including: product impressions, product clicks, viewing product details, adding a product to a shopping cart, initiating the checkout process, transactions, and refunds.
  • 3. Enhanced Ecommerce - Web Tracking (analytics.js) Data Types and Actions There are multiple types of ecommerce data you can send using analytics.js: impression data, product data, promotion data, and action data.
  • 4. Enhanced Ecommerce - Web Tracking (analytics.js) Data Types and Actions - Impression Data VALUE TYPE REQUIRED DESCRIPTION id String Yes* The product ID or SKU (e.g. P67890). *Either this field or name must be set. name String Yes* The name of the product (e.g. Android T-Shirt). *Either this field or id must be set. list String No The list or collection to which the product belongs (e.g. Search Results) brand String No The brand associated with the product (e.g. Google). category String No The category to which the product belongs (e.g. Apparel). Use / as a delimiter to specify up to 5-levels of hierarchy (e.g. Apparel/Mens/T-Shirts). variant String No The variant of the product (e.g. Black). position Number No The product's position in a list or collection (e.g. 2). price Currency No The price of a product (e.g. 29.20). Represents information about a product that has been viewed. It is referred to as an impressionFieldObject and contains the following values: E.g. Search Results
  • 5. Enhanced Ecommerce - Web Tracking (analytics.js) Data Types and Actions - Product Data Product data represents individual products that were viewed, added to the shopping cart, etc. It is referred to as a productFieldObject and contains the following values: VALUE TYPE REQUIRED DESCRIPTION id String Yes* The product ID or SKU (e.g. P67890). *Either this field or name must be set. name String Yes* The name of the product (e.g. Android T-Shirt). *Either this field or id must be set. brand String No The brand associated with the product (e.g. Google). category String No The category to which the product belongs (e.g. Apparel). Use / as a delimiter to specify up to 5-levels of hierarchy (e.g. Apparel/Mens/T-Shirts). variant String No The variant of the product (e.g. Black). price Currency No The price of a product (e.g. 29.20). quantity Number No The quantity of a product (e.g. 2). coupon String No The coupon code associated with a product (e.g. SUMMER_SALE13). position Number No The product's position in a list or collection (e.g. 2).
  • 6. Enhanced Ecommerce - Web Tracking (analytics.js) Data Types and Actions - Promotion Data Represents information about a promotion that has been viewed. It is referred to a promoFieldObject and contains the following values: VALUE TYPE REQUIRED DESCRIPTION id String Yes* The promotion ID (e.g. PROMO_1234). *Either this field or name must be set. name String Yes* The name of the promotion (e.g. Summer Sale). *Either this field or id must be set. creative String No The creative associated with the promotion (e.g. summer_banner2). position String No The position of the creative (e.g. banner_slot_1).
  • 7. Enhanced Ecommerce - Web Tracking (analytics.js) Data Types and Actions - Action Data Represents information about an ecommerce related action that has taken place. It is referred to as an actionFieldObject and contains the following values: VALUE TYPE REQUIRED DESCRIPTION id String Yes* The transaction ID (e.g. T1234). *Required if the action type is purchase or refund. affiliation String No The store or affiliation from which this transaction occurred (e.g. Google Store). revenue Currency No Specifies the total revenue or grand total associated with the transaction (e.g. 11.99). This value may include shipping, tax costs, or other adjustments to total revenue that you want to include as part of your revenue calculations. Note: if revenue is not set, its value will be automatically calculated using the product quantity and price fields of all products in the same hit.
  • 8. Enhanced Ecommerce - Web Tracking (analytics.js) Data Types and Actions - Action Data tax Currency No The total tax associated with the transaction. shipping Currency No The shipping cost associated with the transaction. coupon String No The transaction coupon redeemed with the transaction. list String No The list that the associated products belong to. Optional on click or detail actions. step Number No A number representing a step in the checkout process. Optional on checkout actions. option String No Additional field for checkout and checkout_option actions that can describe option information on the checkout page, like selected payment method.
  • 9. Enhanced Ecommerce - Web Tracking (analytics.js) Product and Promotion Actions Did you notice? Something missing? Actions specify how to interpret product and promotion data that you send to Google Analytics Impression Actions? No need! It’s an impression, so make a good first impression.
  • 10. Enhanced Ecommerce - Web Tracking (analytics.js) ACTION DESCRIPTION click A click on a product or product link for one or more products. detail A view of product details. add Adding one or more products to a shopping cart. remove Remove one or more products from a shopping cart. checkout Initiating the checkout process for one or more products. checkout_option Sending the option value for a given checkout step. purchase The sale of one or more products. refund The refund of one or more products. promo_click A click on an internal promotion. Below are the various actions that can be performed on product and promotion data:
  • 11. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation
  • 12. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Product Impression In this example, a user first views the product in a list of search results. To measure this product impression, use the ec:addImpression command and provide the product details in an impressionFieldObject:
  • 13. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Product Impression ga('create', 'UA-XXXXX-Y'); ga('require', 'ec'); // Load enhanced ecommerce plugin ga('ec:addImpression', { 'id': 'P12345', // Product details are provided in an impressionFieldObject. 'name': 'Android Warhol T-Shirt', 'category': 'Apparel/T-Shirts', 'brand': 'Google', 'variant': 'black', 'list': 'Search Results', 'position': 1 // 'position' indicates the product position in the list. }); ga('ec:addImpression', { 'id': 'P67890', 'name': 'YouTube Organic T-Shirt', 'type': 'view', 'category': 'Apparel/T-Shirts', 'brand': 'YouTube', 'variant': 'gray', 'list': 'Search Results', 'position': 2 }); ga('send', 'pageview'); } addImpression: This is a result set of multiple products, therefore should be in a for loop
  • 14. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Product Click Next, a user expresses interest in this particular product by clicking on the product listing to view more details. To measure that product click, use ec:addProduct and ec:setAction
  • 15. “ Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Product Click // Called when a link to a product is clicked. function onProductClick() { ga('ec:addProduct', { 'id': 'P12345', 'name': 'Android Warhol T-Shirt', 'category': 'Apparel', 'brand': 'Google', 'variant': 'black', 'position': 1 }); ga('ec:setAction', 'click', {list: 'Search Results'}); // Send click with an event, then send user to product page. ga('send', 'event', 'UX', 'click', 'Results', { hitCallback: function() { document.location = '/product_details?id=P12345'; } }); } The product link could then be implemented like this: <a href="/next-page.html" onclick="onProductClick(); return !ga.loaded;"> T-Shirt </a> ”
  • 16. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Product Details View After clicking on the product listing, a user views the product details page. To measure this product details view, use ec:addProduct and ec:setAction to specify a detail action:
  • 17. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Product Details View ga('create', 'UA-XXXXX-Y'); ga('require', 'ec'); ga('ec:addProduct', { 'id': 'P12345', 'name': 'Android Warhol T-Shirt', 'category': 'Apparel', 'brand': 'Google', 'variant': 'black' }); ga('ec:setAction', 'detail'); ga('send', 'pageview'); // Send product details view with the initial pageview.
  • 18. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring an Addition or Removal from Cart The user expresses intent to buy the item by adding it to a shopping cart. To measure the addition or removal of a product from a shopping cart, use ec:addProduct and set the type add or remove:
  • 19. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring an Addition or Removal from Cart // Called when a product is added to a shopping cart. function addToCart(product) { ga('ec:addProduct', { 'id': product.id, 'name': product.name, 'category': product.category, 'brand': product.brand, 'variant': product.variant, 'price': product.price, 'quantity': product.qty }); ga('ec:setAction', 'add'); // for removal use remove ga('send', 'event', 'UX', 'click', 'add to cart'); // Send data using an event. }
  • 20. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring Checkout Process Now the user is ready to begin the checkout process, which in this example includes two steps, each on separate pages: 1. Add payment details (payment.html). 2. Add shipping details (shipping.html).
  • 21. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring Checkout Process First, make sure you’ve properly configured a checkout funnel from within Google analytics under ecommerce settings.
  • 22. Enhanced Ecommerce - Web Tracking (analytics.js) ga('create', 'UA-XXXXX-Y'); ga('require', 'ec'); function checkout(cart) { for(var i = 0; i < cart.length; i++) { var product = cart[i]; ga('ec:addProduct', { 'id': product.id, 'name': product.name, 'category': product.category, 'brand': product.brand, 'variant': product.variant, 'price': product.price, 'quantity': product.qty }); } } ga('ec:setAction','checkout', { 'step': 1, // A value of 1 indicates this action is first checkout step. 'option': 'Visa' // Used to specify additional info about a checkout stage, e.g. payment method. }); ga('send', 'pageview'); // Pageview for payment.html Implementation: Measuring Checkout Process: Step 1 - Payment
  • 23. Enhanced Ecommerce - Web Tracking (analytics.js) ga('create', 'UA-XXXXX-Y'); ga('require', 'ec'); function checkout(cart) { for(var i = 0; i < cart.length; i++) { var product = cart[i]; ga('ec:addProduct', { 'id': product.id, 'name': product.name, 'category': product.category, 'brand': product.brand, 'variant': product.variant, 'price': product.price, 'quantity': product.qty }); } } ga('ec:setAction','checkout', {'step': 2}); ga('send', 'pageview'); // Pageview for shipping.html Implementation: Measuring Checkout Process: Step 2 - Shipping
  • 24. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring Checkout Process: Step 2 - Shipping - Post selection of shipping Information In case we don’t have additional information about the shipping option selected when the initial pageview is sent so this will be handled separately using the ec:setAction to indicate a checkout_option. // Called when user has completed shipping options. function onShippingComplete(stepNumber, shippingOption) { ga('ec:setAction', 'checkout_option', { 'step': stepNumber, 'option': shippingOption }); ga('send', 'event', 'Checkout', 'Option', { hitCallback: function() { // Advance to next page. } }); <a href="/next-page.html" onclick="onShippingComplete (2, 'FedEx'); return !ga.loaded;">Continue</a>
  • 25. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Transaction Lastly, the user completes the checkout process and submits their purchase. To measure the sale of one or more products, use ec:addProduct to add each product, then ec:setAction to specify a purchase. Transaction level information like total revenue, tax, etc. can be specified via an actionFieldObject. For example:
  • 26. Enhanced Ecommerce - Web Tracking (analytics.js) Implementation: Measuring a Transaction ga('create', 'UA-XXXXX-Y'); ga('require', 'ec'); ga('set', '&cu', 'EUR'); // Optional: Set tracker currency to Euros ga('ec:addProduct', { 'id': 'P12345', 'name': 'Android Warhol T-Shirt', 'category': 'Apparel', 'brand': 'Google', 'variant': 'black', 'price': '29.20', 'quantity': 1 }); // Transaction level information is provided via an actionFieldObject. ga('ec:setAction', 'purchase', { 'id': 'T12345', 'affiliation': 'Google Store - Online', 'revenue': '37.39', 'tax': '2.85', 'shipping': '5.34', 'coupon': 'SUMMER2013' // User added a coupon at checkout. }); ga('send', 'pageview'); // Send transaction data with initial pageview.