Enhanced eCommerce in Google Analytics offers deep insights into the entire customer journey, from product views to purchases. With Enhanced eCommerce, marketers can analyze the performance of products, the checkout funnel, internal promotions, and much more. In this article, we’ll explore what Enhanced eCommerce is, how to set it up, and the key metrics it provides.
Enhanced eCommerce is an advanced feature in Google Analytics that tracks detailed eCommerce interactions beyond basic transactions. While standard eCommerce tracking only monitors sales data (such as revenue and transaction count), Enhanced eCommerce provides additional insights, including:
Enhanced eCommerce offers more granular data, allowing businesses to optimize every stage of the customer journey and increase conversions.
Enhanced eCommerce provides detailed insights into the full sales funnel, which helps businesses:
With these insights, businesses can refine their marketing strategies, optimize the user experience, and boost sales.
Setting up Enhanced eCommerce tracking involves two key steps: enabling it in Google Analytics and implementing the correct tracking code on your site.
Step 1: Enable Enhanced eCommerce in Google Analytics
Once Enhanced eCommerce is enabled, you’ll be able to see more advanced data in the Conversions > Ecommerce reports.
Step 2: Implement Enhanced eCommerce Tracking Code Enhanced eCommerce tracking requires several event tracking codes to be added to your website, depending on what you want to track. These events include product impressions, clicks, cart actions, and the checkout process.
Here’s a breakdown of some common tracking events and their associated code.
javascriptCopy codegtag('event', 'view_item_list', {
"items": [
{
"id": "P12345",
"name": "Product 1",
"category": "Category A",
"list_name": "Search Results",
"price": 25.99
},
{
"id": "P67890",
"name": "Product 2",
"category": "Category B",
"list_name": "Search Results",
"price": 15.99
}
]
});
javascriptCopy codegtag('event', 'select_content', {
"content_type": "product",
"items": [
{
"id": "P12345",
"name": "Product 1",
"category": "Category A",
"price": 25.99
}
]
});
javascriptCopy codegtag('event', 'add_to_cart', {
"currency": "USD",
"value": 25.99,
"items": [
{
"id": "P12345",
"name": "Product 1",
"category": "Category A",
"price": 25.99,
"quantity": 1
}
]
});
javascriptCopy codegtag('event', 'begin_checkout', {
"items": [
{
"id": "P12345",
"name": "Product 1",
"category": "Category A",
"price": 25.99,
"quantity": 1
}
]
});
javascriptCopy codegtag('event', 'purchase', {
"transaction_id": "T12345",
"affiliation": "Online Store",
"value": 50.00,
"currency": "USD",
"tax": 5.00,
"shipping": 5.00,
"items": [
{
"id": "P12345",
"name": "Product 1",
"category": "Category A",
"price": 25.99,
"quantity": 1
}
]
});
You can use Google Tag Manager (GTM) to manage these events more easily without having to modify your website’s code directly. This makes implementation and future updates more manageable.
Once Enhanced eCommerce is properly configured, you’ll have access to several valuable reports in Google Analytics. Some of the key reports include:
This data helps you understand which products are driving the most revenue and which ones need attention.
To get the most out of Enhanced eCommerce, consider the following best practices:
Enhanced eCommerce in Google Analytics provides powerful insights into the entire customer journey, allowing you to make data-driven decisions to improve sales and the user experience. By enabling Enhanced eCommerce, you can go beyond basic sales metrics and dive deeper into the factors driving conversions and revenue.