Shopify provides native Google Universal Analytics integration. It works perfectly on all subscription plans. More info and how to set up Google Analytics on Shopify you can find on their official documentation. Also, you can add a GTM web container on all pages of your website if you have Advanced Shopify or Shopify Plus plans. If you are using “Basic Shopify” or “Shopify” plans, you can only add scripts on not checkout pages.
And here is the problem, “Advanced Shopify” costs $299 per month while “Basic Shopify” costs $29 per month, and if the Basic plan is enough, you don’t want to pay more only for adding a GTM Web container to the checkout pages.
Shopify allows changing “transportUrl” in GA settings. It means that you can set up a Google Tag Manager Server container on Shopify instead of a GTM Web container. I hope that this will help you solve all your tracking problems.
For example, with GTM Server-Side on Shopify, you can:
5. Add Google Remarketing tags
1. First of all, you need to create Google Tag Manager Server Side Container.
2. As an option, you also can set up your domain for GTM SS. It will help you track users more accurately.
3. Now you need to set “transportUrl” in your Shopify account. Go to Online Store -> Preferences and find Google Analytics settings. Then click on “Add custom JavaScript” and set this code where “https://your-server-side-gtm-url.com” is your GTM SS URL.
ga('set', 'transportUrl', 'https://your-server-side-gtm-url.com/collect');
4. Now you can check that the GA library on your site started to send events to your Google Tag Manager Server Side container.
5. In some rare cases, the “pageview” event sends faster than the “transportUrl” setting applies. And the event does not go to GTM SS. If you have this problem, add this event after the “transportUrl” setting:
ga('send', 'pageview_confirmation');
this will help you measure more accurately.
I hope this guide will help you solve Shopify tracking issues. If you still experience any of them, our team is always available for a consult. All you need to do is describe the problem, and we will help you find the solution.
All it takes is a few simple questions. Click Help with setup, fill up the form, and we will send you a quote.
What cost can you expect for server Google Tag Manager hosted on Google Cloud? Is it a good idea to use a test environment on the productions site. Why stape’s hosting for server GTM is cheaper and how we secure our user’s data.
Sep 16, 2021Find out how to use server-side tracking with Google Tag Manager and avoid being blocked by AdBlocker.
May 9, 2021Facebook spent a lot of effort pushing marketers and site owners to implement FB Conversion API. If you run advertising on Facebook, you’ve likely already heard about Facebook conversion API and why it’s essential to implement it to make your tracking more accurate because of iOS 14, AdBlockers, and ITP. So how can you implement it? In this guide, I want to show you how to set up a Facebook conversion API for Shopify using the Google Tag Manager Server container. This method allows setting up server-side tracking using GTM web, server container, and GA4 or Data Tags to send data from web to server. The main benefit of this method is that it works for the customized websites or non-standard events where the Native Facebook app is not helpful.