# 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="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FYz4DtJeIvZhgefFXl9S0%2Fimage.png?alt=media&#x26;token=16bc2f26-0153-4f3e-ba81-f5e20d2b8275" alt=""><figcaption><p>Settings > Integrations</p></figcaption></figure>

Here, go to the Google tag manager section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FrgHCtrvttUVdBUKknlIg%2Fimage.png?alt=media&#x26;token=1254429e-8f95-4e66-8582-63bbd1c2581d" alt=""><figcaption><p>Google tag manager</p></figcaption></figure>

Now, click on **Setup**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2F1EWKvWXr9kB3Sr3TmG1j%2FScreenshot%202023-11-13%20185445.png?alt=media&#x26;token=d807c69d-a117-42ad-8bcd-2f71c454c4d9" alt=""><figcaption><p>Click on Setup</p></figcaption></figure>

This will open up the Google Tag Manager setup section.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FFmVJxAmAayNKsVy7rifS%2Fimage.png?alt=media&#x26;token=2a18d4fe-339f-4464-83dd-d7d1d0312d16" 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="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FG45qLXbuMzwt8YAbqxQH%2FScreenshot%202023-11-13%20185513.png?alt=media&#x26;token=9a969360-3474-451c-9249-b2b3e272718e" 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="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FYtoqR6XkyHtHHNwBeMr2%2FScreenshot%202023-11-13%20185553.png?alt=media&#x26;token=de055cb3-5746-488b-b78e-11b226c851ce" alt=""><figcaption><p>Enable the Google Tag Manager Automatic conversion module</p></figcaption></figure>

Next, enable **conversion data logging**.

<figure><img src="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FAM2HMlAjjEhJtFrg8qBu%2FScreenshot%202023-11-13%20185618.png?alt=media&#x26;token=8f610aa7-19cd-48fb-98be-5056a5e617ea" 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="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FQMPkccV9dZanLsTFe697%2Fimage.png?alt=media&#x26;token=e31f16e8-e626-41eb-9774-779a332eaba3" 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="https://1200686697-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LdPzLtyP46oY7cyXnkw%2Fuploads%2FEBxnJqck6hCmiRSwe7mc%2Fimage.png?alt=media&#x26;token=d963f905-5a29-4da1-80e7-a3ca517164f0" alt=""><figcaption></figcaption></figure>

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