Getting Started with Enhanced E-commerce

Rod Jacka - Thursday, July, 06, 2017

Google Analytics Enhanced E-commerce requires additional JavaScript code to be added to your website to collect the data it needs for its reports.

It is strongly recommended that you use the Google Tag Manager service wherever possible to implement Google Analytics. There are many reasons for this but the main one is that it makes updating or adding features to tracking your website easier and reduces your reliance on a web developer to make changes to your website.

If for some reason you are unable to implement the Google Tag Manager service you can directly add the necessary JavaScript code to your website.

IMPORTANT: Google Analytics Enhanced E-commerce requires that you are using the Universal Analytics version of the tracking code. If you are using an earlier version then you will need to upgrade this to the Universal Analytics version before proceeding with the remaining steps in this article.

Step 1: Turn on Enhanced E-commerce in your Google Analytics Settings

Step 2: Setup the variables or data layer

Step 3: Connect the Google Analytics code

Step 4: Test and test again

Step 1: Turn on Enhanced E-commerce Settings

Login to Google Analytics.

Go to the view that you want to configure.

Click on the Admin icon at the bottom left hand side of the screen.

Click on the E-commerce Settings icon

Turn on the Enable E-Commerce status

Click Next step button to configure the Enhanced E-commerce settings.

Change the Enable Enhanced E-commerce Reporting toggle to On

Under Funnel Steps, add labels which match each step in your checkout process.

Note: Tracking checkout steps requires that you send this data to Google Analytics using JavaScript code. Changing these settings won’t automatically record this for you.

Click on the Submit button to save these changes.

Step 2: E-commerce Variables / Data Layer

This is the hardest step for most people. Getting the data that you need from the web page to populate the Google Analytics reports can be tricky.

The full details on what you need to track can be found at:

Google Tag Manager:

Universal Analytics:

Rather than recreate this documentation here, you can send this to your web developer for them to implement.

If it is not possible to implement all of the features on your shopping cart platform then you might want to consider implementing some of the more important features only. From our experience these are:

  • Transactions
  • Checkout Steps
  • Product detail views
  • Add to cart events
  • Internal promotions
All pagesInternal promotionsThis feature allows you to track the effectiveness of your promotions within the website. For instance a home page hero image that is used to direct customers to selected products will be tracked using this feature.

Wherever you show a promotion on the site you can record an impression and a click.
Content groupWhilst not part of enhanced e-commerce content groups give you a powerful way of assessing the value of your SEO activities.
Product category pagesProduct list trackingProduct list tracking shows you how many times a product was displayed in a category or list and the number of times it was clicked. This is one of the more difficult features to implement but can provide a lot of value for the analyst if it is implemented.
Add to cartIf your online store allows your customers to add products to their shopping cart from a product list then you can track this using Google Analytics.
Product detail pagesProduct detail viewsWhen the customer views a product details page on your website recording that view in Google Analytics provides the basis for measuring the effectiveness of that product in generating sales. If a product is frequently viewed but not frequently purchased then this may indicate that you need to change that product.
Add to cartAdding the product to the shopping cart is a key measure of the potential sales for that product.
View cartCheckout stepMeasuring whether the user proceeds from the view cart stage to start checkout is a recommended measure for your website. By adding a checkout step at this stage you can create audience remarketing lists that you can use to bring customers with abandoned carts back to your website.
Remove from cartThis feature allows you to track whether a user has removed an item from their shopping cart. If some items are frequently removed from the shopping cart this may indicate issues with shipping costs or other aspects of that product.
Add to cartWhen the user increases the quantity of an item within the shopping cart you can use the add to cart event to record this.

Note that Google Analytics doesn't currently have an adjust cart event and implementing this feature may bias your add to cart reporting. Our recommendation is to use the Google Analytics event tracking to record this rather than using the add to cart event.
CheckoutCheckout step/sTracking the customers' progress through the checkout process can provide valuable information on whether your checkout is working at peak efficiency.

As a number of shopping carts use a one page checkout this can require custom implementation to match your set up. Also some shopping carts that use a 3rd party system may not be able to track all steps. One example of this is the popular Shopify service.
Transaction detailsNaturally this is the most important feature that you must implement to get the value of the Google Analytics e-commerce reporting.

This feature allows you to record what sold, the amount, shipping, tax and the details of the products sold.
CurrencyGoogle Analytics supports using multiple currencies. This allows you to see which currencies customers are using to purchase from your store.

For Google Tag Manager you need to include the dataLayer variable 'currencyCode' which should be included in all transactions.
Custom product attributesWhen you record a transaction you can also extend Google Analytics' product fields to include custom dimensions and metrics. For instance if you are selling clothing you can include the product style, size and colour as 3 additional dimensions. You can also include custom metrics such as the cost of the product (though be warned if you use this you might be disclosing your profits).
AdministrationRefundsIf a user returns a product then you can record a refund event to cancel out that transaction in Google Analytics.

Step 3: Connect the Google Analytics Code

If you are using Google Tag Manager (and we recommend that you do), you must set up the variables, triggers and tags for any of the features you’re implementing.

The tags are the JavaScript code which runs in the visitor’s browser to query the data layer and send the data across to Google Analytics.

The configuration specifics for Google Tag Manager can be found with the details of each feature here:

Step 4: Test and Test Again

Testing that each of the enhanced e-commerce features is functioning is imperative to ensure the data in Google Analytics is reliable.

There are a number of methods for conducting the tests:

1. Google Tag Manager’s Preview Function

Google Tag Manager has the ability to show all tags which have (and have not) fired on each page.

As an example, see the testing section for our Tag Manager Plus Magento Extension:

2. DataSlayer

DataSlayer is a Chrome extension which shows tag activity and data layer details. This is only useful for a Google Tag Manager implementation.

Download DataSlayer here.

3. GA Debug

This is another Chrome extension which shows all data being transmitted from to Google Analytics. The format of the data isn’t as easy to read as DataSlayer, but it can be used with analytics.js tagging or Google Tag Manager.

Download GA Debug here.

4. Google Analytics Realtime Reports

While the above 3 methods show data which is being sent to Google Analytics, the Realtime Reports will confirm the data is arriving as expected.

Specifically, look at Realtime > Events to confirm that all events which are triggered on the website are appearing in Google Analytics.

google analytics realtime report

If you would like to find out more, or require assistance with implementation documentation for your developers, contact us to discuss your requirements.

Why Every Retailer Should Use Google Analytics Enhanced E-commerce

Rod Jacka -

If you are serious about growing your online business then you need good information to help you make decisions about where to invest your energy and resources. Google Analytics is one valuable source of this information.

Google Analytics has two different sets of e-commerce reports. The standard reports which only provide basic e-commerce information and enhanced e-commerce which provides a richer set of data. It takes more work to set up the enhanced e-commerce reports but the results are worth it.

The enhanced e-commerce reports provide a much richer and detailed source of data that helps you to understand more about:

  • Which products are being viewed, added to cart and sold,
  • The results of your efforts to promote these products on your own website using promotional tiles and other offers,
  • Coupon code redemptions and
  • The effectiveness of your checkout process.

The key differences at a glance:

 Standard E-commerceEnhanced E-commerce
Transactions & revenue trackingYY
Products/SKUs soldYY
Product attributes (brand, colour, etc)NY
Product categoriesBasicDetailed
Days and sessions to purchaseYY
Transaction refundsNY
Product viewsNY
Product add to / remove from cart eventsNY
Track checkout stepsY (Using goal funnels)Y
Create audience remarketing lists for abandoned cartsNY
Checkout optionsNY
Track on-site promotional tiles and offersNY
Track coupon code redemptionNY
Affiliate trackingNY

Next: Read Getting Started with Google Analytics Enhanced E-commerce or contact us for a quote.


Panalysis Web Business Insider – June Edition

Angela Conn - Wednesday, June, 07, 2017

Google Spotlight

This month we are letting you know about Google Attribution, Data Studio, AdWords & Optimise Integration and Google Analytics Enhancements.

Google Attribution 

Google recently announced a new product, Google Attribution, with a view to helping marketers measure the impact of their marketing efforts across both channels and devices.

Historically, attribution tools have been difficult to set up, lose tracking visibility over customer journeys when people switch between devices, nor have they been integrated with ad tools, making it extremely difficult to accurately take informed actions.

Google Attribution can help you:

  • Understand how all of your marketing activities are working together
  • Deliver the necessary insights required to make your activities work better together
  • Integrate Adwords, Google Analytics and DoubleClick Search, making it simple and fast to consolidate your data from every channel and thus providing complete visibility over performance
  • Move away from last-click attribution and towards data-driven attribution, using machine-learning to assign credit to each step of the customer journey



Google Attribution is now in beta and will roll out to more advertisers over the coming months.


Data Studio Now available Globally (and it’s free!)

Data Studio is now available for free and without reporting limitations in over 180 countries. The product allows you to easily connect to data to create information and visually pleasing reports which are easy to read, share and customise.

Key Features in Data Studio include:

  • Filters: you can filter your data in many ways, easily reuse filters on multiple charts, utilise compound filtering  to combine multiple AND and OR conditions together and  filter established metric values that are too large or small.
  • GA Segments: Google Analytics segments can be applied to your charts. They are viewable in Data Studio and if updated in GA, the changes are also applied to your segments in Data Studio.
  • Powerful Data Connectors: Popular data connectors in Data Studio include Youtube, DoubleClick, Campaign Manager and Adwords.
  • Google Cloud Platform Integrations: Integration and improvements to the Google Cloud Platform  enables fast data reporting, at scale, with powerful functionality.
  • File Upload: Data Studio can upload 2GB of CSV data for free, lifting restrictions on data access from SQL or Google databases only.



Adwords & Optimize Integration

From managing media, to optimizing your site and collecting performance insights, your marketing workflows need to be seamless and integrated. This will allow you to easily apply learnings and take action, fast. With new integrations for Google Optimize and AdWords you will now have the ability to efficiently test landing pages, gaining valuable insights about your ads.

The new integration allows you to create new variations of your landing pages and apply them to any combination of AdWords campaigns, ad groups and keywords. It’s fast and easy and requires no coding or webmaster.

With Optimize determining which variation performs best for your company, it aims to assist you in getting more value from your AdWords campaigns.


Google Analytics Enhancements

Google Analytics is now even easier to use to gain the insights you need. After a redesigned mobile app for an improved on the go experience last year, followed by  the introduction of automated insights within the app, Google have recently simplified their website user interface.

The most recent enhancements have been designed to help you make better data-driven decisions based on a more insightful user understanding.

New Home

Google Analytics “Home” features:

  • Viewable snippets from a curated set of GA reports with simple controls.
  • Each Snippet is preceded by helpful questions to frame your data.
  • Digging deeper is easier, simply hover on any data point to access more details or drill into relevant reports
  • Your “home” is automatically configured based on your GA setup.
  • Your former default landing page, Audience Overview is still accessible. Open “Audience” section in your navigation and click on overview to access.


The new “Discover” page holds all of the latest enhancement information. It offers products and experiences to assist you with manoeuvring through your GA account.

Helpful products including Optimize, tools such as the GA mobile app, features like Custom Alerts and educational material from the Analytics Academy are all included in the Discover page.


We recommend spending some time exploring these Google Analytics enhancements to make sure you are getting the most out of your experience.