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
After selecting website tracking you will receive a script to integrate as following :
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-173898733-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXXXXXX-Y');
</script>
Please copy Google Analytics ID as UA-XXXXXXXX-Y and paste it in commerceup backend StoreSetup -> Analytics section
Now you can start with basic tracking of your online store with pageviews, session, demographics and other standard events.
The Facebook pixel is a snippet of JavaScript code that allows you to track visitor activity on your website. It works by loading a small library of functions which you can use whenever a site visitor takes an action (called an event) that you want to track (called a conversion) .Tracked conversions appear in the Facebook Ads Manager and in the Facebook Analytics dashboard, where they can be used to measure the effectiveness of your ads, to define custom audiences for ad targeting, for dynamic ads campaigns, and to analyze that effectiveness of your website's conversion funnels.
Before you begin-
You need a website for your business.
You must be able to update your website's code.
Create a Facebook pixel
Go to your Pixels tab in Events Manager.
Click Create a pixel.
To finish creating your pixel, click Create in the box that appears.
Add the Facebook pixel to your website-
Copy Facebook pixel id and paste it in storefront->analytics Facebook pixel id section.
Please disable automatic event setup as we manually setup and trigger all facebook events.
If you still face any issues while setting up analytics on your store, Please feel free to contact us at support@commerceup.io