Implement Google Universal Analytics in ConvertPlus and InLine Checkout (without GTM)
Overview
You can implement Google Universal Analytics without the Google Tag Manager (GTM) to help you track and monitor your ConvertPlus and InLine checkout orders in order to improve the shopping experience and increase conversion rate.
Availability
Google Universal Analytics can be set for all 2Checkout accounts.
Implement Google Universal Analytics in ConvertPlus and InLine Checkout
Get your Google Universal Analytics Tracking ID
Navigate to your Google Universal Analytics account.
To get your Google Universal Analytics Tracking ID, go to Google Universal Analytics → Admin → Tracking Info → Tracking Code. Under Tracking ID you will find the code you need to copy and paste into your Merchant Control Panel.

Enable Enhanced Ecommerce and set referral exclusions
In your Google Universal Analytics account, make sure you have Enhanced Ecommerce enabled:
Go to Admin → View Settings → Ecommerce settings.
Make sure Enable Ecommerce & Enable Enhanced Ecommerce Reporting are both ON.

Exclude 2Checkout domains from the referral list:
Go to Admin → Property settings → Tracking info → Referral Exclusion List.
Add your website’s domain and the following 2Checkout domains: secure.2checkout.com and tracking.avangate.net.

Cross-domain tracking settings (gtag.js example)
For cross-domain tracking between your website and the 2Checkout shopping cart, update the Google Analytics JavaScript tracking code on your website to include a linker to the 2Checkout domains: secure.2checkout.com and tracking.avangate.net.
Below is an example of the Google Universal Analytics tracking script for gtag.js. 2Checkout Google Universal Analytics tracking implementation is based on gtag.js.
GA_MEASUREMENT_ID in the script below is the Google Universal Analytics Tracking ID (found under Google Universal Analytics → Admin → Tracking Info → Tracking Code).
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gta...MEASUREMENT_ID"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'GA_MEASUREMENT_ID', {
'linker': {
'domains': ['secure.2checkout.com', 'tracking.avangate.net']
}
});
</script>Merchant Control Panel Settings
The Analytics section in your Merchant Control Panel allows you to integrate Google Universal Analytics in the ConvertPlus or InLine ordering engines and thus track the behavior of your shoppers on the 2Checkout pages.
Follow these steps to complete your analytics integration:
Log in tointo your Merchant Control Panel.
Navigate to Setup → Ordering options.
Click on the Analytics tab.
Click on the ConvertPlus and InLine Checkout tab.

In the Google Universal Analytics box, click on Set up.

Fill in the Google Universal Analytics Tracking ID (Here is how you obtain it) and click Save.

Complete the integration by using the slider to activate Google Universal Analytics.

Related documentation
Last updated
Was this helpful?