Google Tag ManagerLittledataShopifyUpdated

Does Littledata Work with Google Tag Manager (GTM)?

by Edward Upton

Does Littledata Work with Google Tag Manager (GTM)?

Yes, Littledata works with Google Tag Manager. For most Shopify stores it replaces GTM ecommerce tracking: purchases, checkout steps and storefront events reach GA4 and your ad platforms server-side, with no container to maintain. GTM stays useful for custom events and for tags on platforms Littledata doesn't connect to.

Google Tag Manager is the default way many stores add tracking. On Shopify, it has become harder to keep working. Checkout pages no longer load theme scripts, every new tag adds load time, and each theme change risks breaking a trigger.

Here is how Littledata and GTM fit together today.

What Littledata replaces in GTM

Littledata sends Shopify events directly to each destination you connect, so you don't need GTM tags for:

  • Google Analytics 4: pageviews, ecommerce events, checkout steps and purchases
  • Google Ads: purchase conversions with Enhanced Conversions
  • Meta: server-side events through the Conversions API
  • Klaviyo, TikTok, Pinterest, Microsoft Advertising and OpenAI Ads
  • Segment: for relaying Shopify data to other tools

Checkout and purchase events are tracked server-side from Shopify, so they keep working through theme changes, ad blockers and Shopify's move to checkout extensibility, where theme-level GTM containers no longer load. Subscription orders from apps such as Recharge are tracked the same way.

What GTM is still for

GTM is most useful for the tags Littledata doesn't send for you:

  • Platforms without a Littledata connection, such as affiliate networks or niche ad platforms
  • Custom events, for example a quiz completion or a video play
  • Testing changes with GTM's preview mode before you publish

On Littledata's Plus plan, the team can review your tagging plan, show where it overlaps with Littledata's built-in tracking, and suggest which extra events to keep in GTM.

How to avoid duplicate tracking

Littledata's script works alongside your GTM container. When GA4 is connected, Littledata loads the Google tag on your store and sends pageviews and standard ecommerce events.

If your GTM container also sends pageviews or ecommerce events to the same GA4 property, every event is counted twice. Remove those tags from GTM once Littledata is connected. Custom GA4 events you add with GTM can stay, and go to the same property.

The free Littledata Tracking Audit lists every tag on your storefront, including what GTM loads, and flags duplicates.

Which Littledata events you can use in GTM

When GA4 is connected, Littledata pushes these storefront events to the GTM data layer, so you can use them as triggers for other tags:

  • pageview
  • view_item_list (product list views)
  • select_content (clicks on a product in a list)
  • view_item (product page views)
  • product_image_click
  • share_product
  • transaction (on the order status page)

Each product event carries product details such as ID, name, price, variant and category, which you can read with GTM variables for retargeting tags.

Some client-side events, such as login, sign up, cart views and search result views, are sent to GA4 only and are not pushed to the data layer. Server-side events, such as checkout steps and purchases, cannot be used in client-side GTM.

Keeping GTM lean and secure

GTM loads a single container on every page, so every tag you add slows the first page load for every visitor. To keep it manageable:

  • Remove tags you no longer use, reviewing the container every quarter
  • Reuse variables across tags instead of writing custom JavaScript for each one
  • Be careful with third-party scripts. Every tag can run code on your store. See how to stop GTM being hacked.

Moving ecommerce tracking out of GTM and into the data layer for Shopify is the simplest way to shrink the container. What's left is the small set of tags only GTM can handle.

Frequently asked questions

Does Littledata work with Google Tag Manager?

Yes. Many Shopify stores use Littledata and GTM together. Littledata handles ecommerce tracking for its connected destinations, and GTM is used for custom events and for tags Littledata doesn't send.

Does Littledata replace Google Tag Manager?

For ecommerce tracking, usually yes. Littledata sends Shopify events server-side to GA4, Google Ads, Meta, Klaviyo, TikTok, Pinterest, Microsoft Advertising, OpenAI Ads and Segment, with no GTM container to build or maintain. GTM is still useful for tags on platforms Littledata doesn't connect to.

Will Littledata conflict with my GTM setup?

No. Littledata's script works alongside your GTM container. If your container also sends pageviews or ecommerce events to the same GA4 property, you will see duplicates, so remove those tags once Littledata is connected.

Can I use Littledata's events in GTM?

Partly. When GA4 is connected, Littledata pushes storefront events such as product list views, product clicks, product page views and the order status page to the GTM data layer. Server-side events, such as checkout steps and purchases, are not available in client-side GTM.

Does GTM work in the new Shopify checkout?

Not in the way it used to. Shopify's checkout extensibility runs tracking in a sandboxed customer events pixel, and theme-level GTM containers don't load on checkout pages. Littledata tracks checkout and purchase events server-side, so they don't depend on GTM.

The short version

Littledata works with GTM, and for most Shopify stores replaces GTM ecommerce tracking. Keep GTM for custom events and platforms Littledata doesn't connect to, and remove any GA4 ecommerce tags from the container to avoid duplicates. See the Google Tag Manager FAQ in the help center for setup details.

Edward Upton
Edward Upton

Founder & CEO

Edward founded Littledata in 2015 as an analytics consultancy for ecommerce brands including MADE.COM and Micro Scooters, then turned it into the data layer for Shopify. He has spent over a decade on Shopify tracking, GA4 and marketing attribution, and speaks on ecommerce analytics at events including DigiMarCon and the Ecommerce Agency Summit.