> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/integrations/shopify-to-google-analytics/google-tag-manager-faq.md).

# Google Tag Manager FAQ

Answers to common questions about using Google Tag Manager (GTM) alongside Littledata on a Shopify store.

Many Shopify stores use [Google Tag Manager](https://marketingplatform.google.com/about/tag-manager) (GTM) to add custom tracking and marketing tags. This page answers common questions about using GTM together with Littledata.

### Frequently asked questions

<details>

<summary>Does Littledata work with GTM?</summary>

Yes. Many stores that send data to [Google Analytics](https://help.littledata.io/integrations/shopify-to-google-analytics) or [Segment](https://help.littledata.io/integrations/shopify-to-segment) with Littledata also use GTM. They use it to trigger custom events or to send data to other marketing platforms.

</details>

<details>

<summary>Can I reuse events sent by Littledata with other tags in GTM?</summary>

Partly. When GA4 is connected, Littledata pushes these storefront events to the [GTM data layer](https://help.littledata.io/advanced/developer/gtm-and-google-analytics-data-layer-for-shopify):

* `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)

Some client-side events, such as login, sign up, cart views and search result views, are sent to GA4 only. They are not pushed to the data layer.

You also can't use [server-side events](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4#server-side-events), such as checkout steps and purchases, in client-side GTM.

</details>

<details>

<summary>Will Littledata conflict with my GTM setup?</summary>

No. Littledata's script works alongside your GTM container.

When GA4 is connected, Littledata [loads the gtag library](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4#client-side-events) on your store and sends pageviews and standard ecommerce events. Any custom GA4 events you add with GTM go to the same GA4 property.

{% hint style="warning" %}
If your GTM container also sends pageviews or ecommerce events to the same GA4 property, you will see duplicates. See [How to fix duplicate tracking in GA4](https://help.littledata.io/integrations/shopify-to-google-analytics/fix-duplicate-tracking-ga4).
{% endhint %}

For many stores, Littledata replaces the need for GTM ecommerce tracking.

</details>

<details>

<summary>Should I use GTM?</summary>

GTM is most useful for tags that Littledata doesn't send for you. With GTM you can:

* Add and update website tags for free, without theme code changes
* Send data to other marketing platforms
* Test and preview each change before you publish it

</details>

<details>

<summary>Can you help with GTM setup for my store?</summary>

On Littledata's [Plus plan](https://www.littledata.io/plus), we can review your tagging plan. We'll show where it overlaps with Littledata's built-in tracking, and which extra events you might want to track with GTM.

</details>

### Related articles

* [GTM and Google Analytics data layer for Shopify](https://help.littledata.io/advanced/developer/gtm-and-google-analytics-data-layer-for-shopify)
* [How it works: Shopify to Google Analytics](https://help.littledata.io/integrations/shopify-to-google-analytics/how-it-works-shopify-to-ga4)
* [How to fix duplicate tracking in GA4](https://help.littledata.io/integrations/shopify-to-google-analytics/fix-duplicate-tracking-ga4)
* [How to disable pageviews in Google Tag Manager](https://help.littledata.io/advanced/troubleshooting/how-to-disable-pageviews-in-gtm)
