# Google Tag Manager

{% hint style="danger" %}
**Important Note:**

A very common issue with using Google Tag Manager is that common adblockers will prevent it from loading in the browser. Please be aware that referrals will not work properly if Google Tag Manager is blocked.
{% endhint %}

**Step 1:** In your Tag Manager console, click 'Add a new tag' (located in the *New Tag* card).

![Add new tag](/files/-LojPTSf-1sRd-BmPWUF)

**Step 2:** In the top input field, rename the tag to 'GrowSurf Universal Code'

![Rename the tag to 'GrowSurf Universal Code'](/files/-LojPZnOvlk4SnpZ8UQk)

**Step 3:** Click the *Tag Configuration* card and a 'Choose tag type' options menu will slide in from the right side. Scroll down and select 'Custom HTML'

![Choose 'Custom HTML' as the tag type](/files/-LojPdsH3fE2IcWg6k7_)

**Step 4:** In the *HTML* section, paste your program-specific [GrowSurf Universal Code](https://docs.growsurf.com/getting-started#get-the-growsurf-universal-code)

![Add your program-specific GrowSurf Universal Code](/files/-LojPlAfaHbnuA2w-Cqc)

**Step 5:** Click the *Triggering* card and then click on 'All Pages' in the *Choose a trigger* menu that slides in from the right (this will load the GrowSurf Universal Code on all pages of your site, which we recommend)

![Select 'All Pages' as the trigger](/files/-LojPstxUtvJsuQdPdcv)

**Step 6:** Click the top-right blue 'Save' button to save the tag

![Click the top-right blue 'Save' button](/files/-LojPy3P8ioct4bmXd8j)

**Step 7:** Click the top-right blue 'Submit' button to save your workspace

![Click the top-right blue 'Submit' button](/files/-LojQ1_4-o5JUtYrlWqN)

## Need help?

Here are some helpful resources:

* [Google Tag Manager Help](https://support.google.com/tagmanager/?hl=en#topic=3441530)
* [GrowSurf Docs - JavaScript Web API](https://docs.growsurf.com/integrate/javascript-web-api)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.growsurf.com/getting-started/google-tag-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
