> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/program-settings/integrations/google-tag-manager-integration.md).

# Google Tag Manager Integration

**GoAffPro** provides you with the option to integrate Google Tag Manager.

To integrate Google Tag Manager, go to the **Integrations** section in the **Settings** tab of the GoAffPro admin panel.

<figure><img src="/files/Xb3m1oHj1s0KbiGJiNN8" alt=""><figcaption><p>Settings > Integrations</p></figcaption></figure>

Here, go to the Google tag manager section.

<figure><img src="/files/Q5zpA71pEJHHGxNnaoge" alt=""><figcaption><p>Google tag manager</p></figcaption></figure>

Now, click on **Setup**.

<figure><img src="/files/M4qA0EDKyCUsW88Qlqkz" alt=""><figcaption><p>Click on Setup</p></figcaption></figure>

This will open up the Google Tag Manager setup section.

<figure><img src="/files/OOtQaaCGiT1c1k3LuK67" alt=""><figcaption><p>Google Tag Manager</p></figcaption></figure>

Here, **copy and add** the base tracking code to your store's pages including the page where your `gtag('event','conversion')` code is present.

<figure><img src="/files/bQTKZZAoyVbm3WeDkUUt" alt=""><figcaption><p>Copy and Add the base tracking code<br></p></figcaption></figure>

Now, enable the **Google Tag Manager Automatic conversion** module.

<figure><img src="/files/iunK5khTxJs6oynuiJI1" alt=""><figcaption><p>Enable the Google Tag Manager Automatic conversion module</p></figcaption></figure>

Next, enable **conversion data logging**.

<figure><img src="/files/PXFwni4Js3GuPcW9tp3u" alt=""><figcaption><p>Enable conversion data logging</p></figcaption></figure>

After this, you can place an order to check the conversion tracking.

<figure><img src="/files/cjhsTREU7O9ZjeLe0E74" alt=""><figcaption><p>Please an order to check the conversion tracking</p></figcaption></figure>

Finally, Google Tag Manager will be setup. This will allow you to record conversions in Google Analytics.&#x20;

<figure><img src="/files/uiTQ5TaGDl27uyeLjrnE" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/qXcREI-2mw4>" %}
Google Tag Manager Integration
{% endembed %}
