In the software update released on 16 October 2017, Google Analytics was supplemented with Enhanced Ecommerce tracking, the implementation of which requires changes to the default theme. On this page, we discuss the required changes.

To implement the changes discussed in this article, you should be familiar with the HTML and Interface languages as well as have some experience in theme modification.

If you're not familiar with these languages, contact a theme designer or MyCashflow customer service.

For Enhanced Ecommerce tracking to work, the theme must include the following tags:

These tags add the store's tracking data to product and banner links. Go to the tags' own pages to see how they can be used in the theme.

If the store's theme uses the default product listings' and banners' printouts (the tags do not use the helper attribute), no changes are required. The Enhanced Ecommerce tracking data will be included in the tags' default printouts.

The Barebones theme

If you use the system's internal Barebones theme (meaning that the theme files are not located in the store's file directory), you don't have to make any changes.

  • helpers/list-product – adds the {ProductLinkData} tag to the link tag in the <h3> element
  • helpers/mini-cart – adds the {ProductLinkData(type: 'remove_from_cart')} tag to the link with the ProductRemove class name as well as to the {ProductLinkData} product links (image and header links)
  • helpers/full-cart – adds the {ProductLinkData(type: 'remove_from_cart')} tag to the link with the ProductRemove class name as well as to the {ProductLinkData} product links (image and header links)
  • helpers/sidebar – adds the {BannerLinkData} tag to the link with the BannerLink class name
  • helpers/category-header – adds the {BannerLinkData} tag to the link with the BannerLink class name
  • helpers/live-search – adds the {ProductLinkData} tag to product links in search results

The Pure theme

  • homepage – adds the {BannerLinkData} tag to banner links
  • helpers/full-cart – adds the {ProductLinkData} tag to product links
  • helpers/listproduct – adds the {ProductLinkData} tag to product links
  • helpers/listproduct-small – adds the {ProductLinkData} tag to product links

The old default theme

  • helpers/listproduct-small – adds the {ProductLinkData} tag to link tags
  • helpers/listproduct – adds the {ProductLinkData} tag to link tags
  • helpers/campaignproduct – adds the {ProductLinkData} tag to link tags
  • helpers/minicart – adds the {ProductLinkData} tag to link tags
  • helpers/full-cart – adds the {ProductLinkData} tag to link tags
  • helpers/header-livesearch – adds the {ProductLinkData} tag to link tags
  • helpers/banners – add the {BannerLinkData} tag to banner links
  • helpers/sidebar-banners – add the {BannerLinkData} tag to banner links
  • helpers/footer-banners – add the {BannerLinkData} tag to banner links