Read below to find out how to take advantage of the tracking capabilities in ConvertPlus and InLine shopping carts.
In ConvertPlus and InLine shopping carts, you can implement Google Analytics Universal directly (without Google Tag Manager) simply by adding your Google Analytics Tracking ID in this section in your Merchant Control Panel, under Google Analytics. This way you will receive cart eCommerce information directly in your Google Analytics account. More information on the implementation can be found here.
Google Tag Manager
You can also implement Google Tag Manager (GTM) in both your ConvertPlus or InLine carts and further add multiple tracking scripts. You can easily implement Google Tag Manager on your ConvertPlus or InLine cart by adding your Google Tag Manager Container ID in this section in your Merchant Control Panel.
Adding Google Analytics through Google Tag Manager (GTM)
To implement Google Analytics through Google Tag Manager follow this step-by-step guide. After implementation, you will be sending shopping cart eCommerce information to your Google Analytics like:
- product data at checkout – when the shoppers open the cart with certain products
- product data at a remove from the cart – when a product is deleted from the cart
- product data at purchase – when a successful order is completed for a product (name, price, quantity, product coupon data).
You will also be sending purchase data to your Google Analytics (transaction id, purchase value, tax, shipping).
Other tracking capabilities through Google Tag Manager (GTM)
In addition to Google Analytics, you can also use Facebook Pixel, Google Ads, or any other desired tracking scripts through Google Tag Manager and send eCommerce information to those tools.
The Google Tag Manager script is placed in an iframe with a data layer that includes extensive shopping cart information.
To see the information available in the data layer, follow these steps:
- Open the browser console.
- Select tracking.avangate.net from the top left corner of the console.
- Type dataLayer in the console, as in the image below.
Under the ecommerce object, you can find product, checkout, and purchase details about the cart. This information is then passed to Google Analytics.
The cartUpdated event also provides further information about the cart (country, currency, language, page name, whether the product is catalog or dynamic, whether the flow is for new acquisitions or manual renewals, whether the order is a test one or not).
Tracking limitations in ConvertPlus and InLine carts
To ensure high-level security, the Google Tag Manager script is placed in an iframe and not directly in the shopping cart, and the tracking scripts you are adding will only be able to pull information that is available in the data layer of the iframe. For this reason, tools used for generating heatmaps, click maps, or user recordings, like Hotjar, will not be able to capture any information from the shopping cart, as the shopping cart screen information is not available in the iframe.
A/B testing tools like Optimizely or Visual Website Optimizer will not work either when their scripts are placed in the Google Tag Manager, as those scripts will run in an iframe and not in the actual cart.