> ## Documentation Index
> Fetch the complete documentation index at: https://help.eaglecart.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Google Tag Manager to Eaglecart

> Add your Google Tag Manager container ID to Eaglecart, know when you need it, and avoid duplicate events from tags installed twice.

[Help Center](https://help.eaglecart.com/introduction.md)

[Marketing and discounts](https://help.eaglecart.com/marketing.md)

Google Tag Manager

# Google Tag Manager

Google Tag Manager (GTM) lets you manage many tracking tags from one container, without changing your store each time.

## Do you need it?

* **You don't** if you only use the platforms Eaglecart supports directly. Add each one in **Settings** > **Trackings** instead.
* **You might** if you work with an agency that manages tags for you, or you use a tool Eaglecart doesn't connect to directly.

## Find your container ID

1. Open Google Tag Manager and select your container.
2. Copy the container ID at the top. It starts with `GTM-`, for example `GTM-XXXXXXX`.

## Connect it

1. Go to **Settings** > **Trackings** and choose the region.
2. Click **Google Tag Manager**.
3. Paste the container ID.
4. Click **Save**.

Then add and publish your tags inside Google Tag Manager.

## Don't install tags twice

> [!WARNING]
>
> If a pixel is added directly in Eaglecart and also as a tag in your GTM container, every event is sent twice. Your reports and ad results will be inflated.

Pick one place for each tag. For example, add Google Analytics and the Meta Pixel directly in Eaglecart, and use GTM only for other tools.

> [!NOTE]
>
> Google Tag Manager runs in the browser only. Eaglecart has no server-side option for it.

## Test it

Use **Preview** in Google Tag Manager to open your store in debug mode and check which tags fire.

## Keep reading

* **Next:** [Google Ads conversion tracking](https://help.eaglecart.com/marketing/google-ads-conversion-tracking.md): measure Google ads.
* [Google Analytics](https://help.eaglecart.com/marketing/google-analytics.md): connect it directly.
* [Set up tracking by region](https://help.eaglecart.com/marketing/set-up-tracking-by-region.md): avoid duplicates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.