GTM(Google Tag Manager) enhancement for GA4 data collection

GTM(Google Tag Manager) enhancement for GA4 data collection

According to Jeremy Horowitz' post, Google Analytics and Google Tag Manager are among the top apps Shopify merchants are using.

However there are a lot of problems with using GA for analytics. Data collection is one of the major challenges.

Yesterday I talked with an international IT firm, who is now working for a top outdoor brand in the United States. James, the head of the data analytics team told me about the issue of their data collection:

We do a lot of tag management analysis, optimization, testing and see more and more clients on Shopify and want to understand what kind of server side support integrations . And I think one of the main things that we're looking for is just like a tool that can send those server calls directly from Shopify. we've just make a GA4 tag go to server side. But if the client side GTM gets blocked, then our server side data is also gonna be incomplete. So we wanna make sure that we get that complete data package from Shopify going either directly to the ends like GA4 or Facebook servers.

Since GTM is quite possible to be blocked by browsers, data collection relying on GTM can be incomplete. There is a better approach to get a complete collection.

Shopify Web Pixels + server+side collection

The Web Pixels has several significant advantages over GTM

  1. This first-party cookie is hardly blocked, while GTM is easily by the browser's privacy settings.
  2. Web Pixels as an independent data layer, doesn't rely on GTM.
  3. Accurate data collection without tag installation, since it's an API. Applications with this API can easily collect customer events.
  4. It also interacts with Shopify Customer privacy API to comply with customer privacy preferences.


There are several scenarios to implement this technology.

1. GTM+server-side tracking for collection

If you have GTM+GA4 running and want to enhance the data collection, use this approach. Server-side tracking refills the lost data, and posts back more events that can't be collected by GTM, such as:

  • Checkout start
  • Payment info submitted
  • Contact info submitted
  • Shipping info submitted

Since the GTM and server-side share the same client ID, GA4 is possible to deduplicate the same events.

2. Pure Sever-side mode

Use this approach if you don't have a GTM installed and you don't want to manage the complexity of tags.

The sever-side collects data from Shopify Web Pixels and Shopify cloud, then posts back via cloud purely.

Since James has done so many jobs on the existing GA4 reporting, "GTM+server-side tracking" is better for him. To decrease the project risk, running " pure server-side mode" with a new GA4 property is the best choice to start a test project.

The impact of consent mode

James also mentioned the impact of consent mode.

How we could stop the tags firing of some region consent. While I know our clients would love to get 100% of their transactions tracked.

The Shopify Web Pixels also applies The Customer Privacy API. So with the consent model, Web Pixels also collects data without user identity information.

For transaction tracking, Applications like Attribuly send CRM customer data to GA4 to identify the user. It also ensures the complete tracking of transactions.

The result

The result? James and I will run this pilot project shortly, I will update you on the comparison before & after. ??????





要查看或添加评论,请登录

Alex Li的更多文章

  • The advice for consumer electronics entrepreneurship

    The advice for consumer electronics entrepreneurship

    Ting Liu, the CEO of Sublue Technology INC, an underwater scooter brand, shared some valuable insight on how to start…

  • Some facts I get for Microsoft Advertising

    Some facts I get for Microsoft Advertising

    I attended an event yesterday, organized by Shopify Microsoft Advertising, Bama Tea, and FedEx . Ben, the sales manager…

  • Enhance your Google Analytics 4 for your Shopify store, with server-side tracking

    Enhance your Google Analytics 4 for your Shopify store, with server-side tracking

    Running GA4? Have a lot of issues with tags implementation? Can't track the most important checkout process? Too many…

  • Track and analyze the checkout process

    Track and analyze the checkout process

    The other day, I talked with a founder selling mobile phone accessories in the United States, Australia, and Japan. We…

  • How I design Attribuly's usage-based pricing

    How I design Attribuly's usage-based pricing

    Attribuly is an #ecommerce analytics for Shopify WooCommerce WordPress and other online stores. Attribuly helps…

  • SaaS Product Market Fit: How I find my PMF indicator

    SaaS Product Market Fit: How I find my PMF indicator

    If you ask me:" As a #SaaS entrepreneur, what is your most important target at your stage now?" I will answer you:" In…

    2 条评论
  • What I learnt from Huawei accelerator: Market research and business design

    What I learnt from Huawei accelerator: Market research and business design

    The market research is aimed to make our success from occasional to inevitable. Huawei adapted the Business Leader…

  • 迈瑞医疗(Mindray)在海外某国市场倍数增长之路

    迈瑞医疗(Mindray)在海外某国市场倍数增长之路

    背景 中国2018年医疗器械领域出口额高达222亿美金,迈瑞医疗Mindray(以下简称:迈瑞)是其中佼佼者。经过近20年的国际业务发展,迈瑞的产品远销全球190多个国家和地区,进入大量全球顶尖医院与研究机构的核心科室。 现状…

  • B2B企业海外市场开发(4):什么是海外业务成功的关键?

    B2B企业海外市场开发(4):什么是海外业务成功的关键?

    中国人民大学管理学博士李先国先生在他的著作《分销渠道管理》中提到: 企业要开拓海外市场,渠道战略是其成功的决定因素之一 《分销渠道管理》 为什么海外市场,渠道战略是成功的关键因素之一呢?…

  • B2B企业海外市场开发(2):海外市场调研怎么开始?

    B2B企业海外市场开发(2):海外市场调研怎么开始?

    一家企业要想做海外市场,从本质上来说和在国内从一个城市开拓到另外一个市场没有太多的区别,首要的第一步都是进行市场的调研。这里我先简单分享一下海外市场调研的考虑点,后续会写一篇专文来细说市场洞察如何做。一般来说,选择一个新的市场起步,主要从以…

社区洞察

其他会员也浏览了