SlideShare une entreprise Scribd logo
1  sur  27
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

Periscopix presentation
Periscopix presentationPeriscopix presentation
Periscopix presentationJamieCluett
 
Magento 2 Reward Points
Magento 2 Reward PointsMagento 2 Reward Points
Magento 2 Reward PointsLandofcoder
 
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 CompaniesAgile CRM
 
Reinvent your var business
Reinvent your var businessReinvent your var business
Reinvent your var businessShane Emerson
 
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 AnalyticsSimo Ahava
 
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 TechSuperNova 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] ExperienceeCommerce Institute
 
Online sales quoting &amp; proposal software
Online sales quoting &amp; proposal softwareOnline sales quoting &amp; proposal software
Online sales quoting &amp; proposal softwareSalesBabuCRM
 
Magento live official
Magento live officialMagento live official
Magento live officialScreen Pages
 
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 & iPadSuperNova Tech
 

Tendances (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
 

En vedette

Guía de Enhanced Ecommerce
Guía de Enhanced EcommerceGuía de Enhanced Ecommerce
Guía de Enhanced EcommerceNeo Consulting
 
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 Nathalie Vandermeersch
 
What about enhanced e-commerce?
What about enhanced e-commerce?What about enhanced e-commerce?
What about enhanced e-commerce?Humix
 
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 - GoogleJigserv Digital
 
Jan Tichý - Enhanced Ecommerce
Jan Tichý - Enhanced EcommerceJan Tichý - Enhanced Ecommerce
Jan Tichý - Enhanced Ecommerceeshopvikend
 
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 2015Analytics Ninja LLC
 
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 HibbittSiteVisibility
 
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)Simo Ahava
 
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 CardiffMeasureCamp Cardiff
 
Google Analytics: Enhanced Ecommerce Tracking
Google Analytics: Enhanced Ecommerce TrackingGoogle Analytics: Enhanced Ecommerce Tracking
Google Analytics: Enhanced Ecommerce Trackingluna-park GmbH
 
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 retailSustainly
 
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 2015Magnus Hedin
 
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 2016MJ Cachón Yáñez
 
Google Analytics Basics
Google Analytics BasicsGoogle Analytics Basics
Google Analytics BasicsAmish Keshwani
 

En vedette (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
 

Similaire à Enhanced ecommerce tracking

Monetate Implementation Cheat Sheet
Monetate Implementation Cheat SheetMonetate Implementation Cheat Sheet
Monetate Implementation Cheat SheetPhil Pearce
 
Quick Start Guide Full Analytics Implementation
Quick Start Guide   Full Analytics ImplementationQuick Start Guide   Full Analytics Implementation
Quick Start Guide Full Analytics ImplementationMatt Lillig
 
Track Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsTrack Report & Optimize Your Web Creations
Track Report & Optimize Your Web CreationsEmpirical Path
 
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 fundamentalsSrikanth Dhondi
 
Grocery app aj
Grocery app ajGrocery app aj
Grocery app ajAmita Jain
 
Shopping Campaigns and AdWords API
Shopping Campaigns and AdWords APIShopping Campaigns and AdWords API
Shopping Campaigns and AdWords APImarcwan
 
Golden punchcard. Mariia Bocheva. Superweek 2018.
Golden punchcard. Mariia Bocheva. Superweek 2018.  Golden punchcard. Mariia Bocheva. Superweek 2018.
Golden punchcard. Mariia Bocheva. Superweek 2018. Mariia Bocheva
 
Conversion Tracking Tutorial
Conversion Tracking TutorialConversion Tracking Tutorial
Conversion Tracking TutorialNick ONeill
 
Ecommerce website with seo optimization
Ecommerce website with seo optimizationEcommerce website with seo optimization
Ecommerce website with seo optimizationKumar Narayan
 
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.pdfRahmat Taufiq Sigit
 
ContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docxContentsPhase 1 Design Concepts2Project Description2Use.docx
ContentsPhase 1 Design Concepts2Project Description2Use.docxmaxinesmith73660
 
Learn Adobe analytics basics - Conversion variables
Learn Adobe analytics basics - Conversion variablesLearn Adobe analytics basics - Conversion variables
Learn Adobe analytics basics - Conversion variablesArunkumar Sundaram
 
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 ReportingSmarter Ecommerce GmbH
 
Programming the ExactTarget Marketing Cloud
Programming the ExactTarget Marketing CloudProgramming the ExactTarget Marketing Cloud
Programming the ExactTarget Marketing CloudSalesforce Developers
 
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?Michaela Linhart
 
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docxsrcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docx
srcCommissionCalculation.javasrcCommissionCalculation.javaimpo.docxrafbolet0
 

Similaire à 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
 

Plus de Etietop Demas

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 DemasEtietop Demas
 
Learn react by Etietop Demas
Learn react by Etietop DemasLearn react by Etietop Demas
Learn react by Etietop DemasEtietop Demas
 
Google digital marketing
Google digital marketing Google digital marketing
Google digital marketing Etietop Demas
 
Basics Digital Marketing
Basics Digital MarketingBasics Digital Marketing
Basics Digital MarketingEtietop Demas
 
Google website call conversion (WCC) tracking
Google website call conversion (WCC) tracking Google website call conversion (WCC) tracking
Google website call conversion (WCC) tracking Etietop Demas
 
Woocommerce google ecommerce tracking
Woocommerce  google ecommerce trackingWoocommerce  google ecommerce tracking
Woocommerce google ecommerce trackingEtietop Demas
 
5 easy steps dynamic remarketing magento
5 easy steps dynamic remarketing magento5 easy steps dynamic remarketing magento
5 easy steps dynamic remarketing magentoEtietop Demas
 

Plus de 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
 

Dernier

Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
₹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
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
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
 
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.soniya singh
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663Call Girls Mumbai
 
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...tanu pandey
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...aditipandeya
 
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
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 

Dernier (20)

Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
₹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...
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
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🔝
 
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.
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
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...
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
 
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🔝
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Call Girls In Noida 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Noida 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In Noida 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Noida 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
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.