Analytics (GA, GTAG & Pixel)

You can integrate following kind of analytics on your commerceup store:

  • Google Analytics ( Global site tag)

  • Google Tag Manager

  • Facebook Pixel setup

As in modern setup most ecommerce platform prefer to use only google tag manager and use google tag manager triggers to call Google Analytics, Facebook pixel, Adwords analytics or any other analytics setup. Google tag manager works as mediator for connecting your online store with multiple analytics tools.

We recommend you to use Google tag manager only and call triggers for further setup like Google Analytics and FB Pixel. As its lightweight and easy implementation.

If you are still going with standard event tracking, Commerceup store still support Google analytics and facebook pixel scripts separately.

All analytics scripts are pre integrated and all standard ecommerce events are already configured for ex : viewContent, addtocart, initiatecheckout, purchase event for ecommerce advanced tracking.

Create an account, or use an existing account, at tagmanager.google.com. (A new container is created by default, and you can create additional containers within each account.)

Install the container

You will see a script as following for Gtag setup :

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
<!-- End Google Tag Manager -->

Please copy Google Tag manager ID as GTM-XXXXXXX and paste it in commerceup backend StoreSetup -> Analytics section

If you still face any issues while setting up analytics on your store, Please feel free to contact us at support@commerceup.io

Last updated