# Grant GTM Access to Appier

{% hint style="info" %}
Before granting GTM access to Appier, please make sure you already have a GTM container, if not please follow the Google instruction to create one.

[Create an account and container](https://support.google.com/tagmanager/answer/14842164?hl=en\&ref_topic=15191151\&sjid=6071472356449274159-NC)
{% endhint %}

Google Tag Manager allows you to delegate access to other users at the Account and Container level. Users can be granted the ability to view or administer other users at the Account level, and can be granted read, edit, approve, or publish rights at the Container level.

### Add Appier to a Tag Manager account

1. Click Admin. In the Account column, select User Management.

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

2. Click the icon ![](/files/RCifEAyHUPHrzA0docLm).
3. Select Add new users.

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

4. Enter one or more email addresses : <ads_gtm_setup_helper@appier.com>

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

5. Set Account Permissions. User is selected by default, and this level allows the user to view basic account information.
6. Set Container Permissions for each container that you would like the user to have access to. Please share **'Edit'** and **'Read'** access to Appier
7. Click **'Done'.** Appier will receive an invitation to use the container.

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

### Edit users access on an account

To edit an existing user on a Tag Manager account

<figure><img src="/files/33lIqvAsFIspWJYrsNrZ" alt=""><figcaption></figcaption></figure>

1. Click Admin.
2. In the Account column, select User Management.
3. Select an entry in the Account permissions list. You can use the search and filter tools at the top of the page to narrow down results.
4. Modify account permissions as necessary.
5. To modify individual container permissions, click and select the desired options. Click \[Done] to continue.
6. If you wish to remove this user from access to the current container, click Remove.

Reference: <https://support.google.com/tagmanager/answer/6107011?hl=en>

### How to Find GTM Container ID

Here is the guide for you to find your GTM Container ID installed in your website.

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

1. Open Google Chrome and go to your website
2. Click Chrome Menu in the upper-right-hand corner
3. Select \[More Tools]
4. Select \[Developer Tools]
5. You may also try :

* Window/Linux : Shift + CTRL + J
* Mac : Option + Command + J

<figure><img src="/files/06bQndC9IpITaty6W3LS" alt=""><figcaption></figcaption></figure>

1. Choose \[Network]
2. Search 'gtm.js'
3. Reload the page

* Window/Linux : \[F5]
* Mac : \[Command + R]

4. Copy 'gtm.js?id=GTM Container ID'
5. If you can't find your GTM Container ID in your website, Please refer to[ How to Install GTM Code in Website](#how-to-install-gtm-code-in-website).

### How to Install GTM Code in Website

Here's the guide if you can't find your GTM container ID in your website.

1. Go to \[Admin] > \[Install Google Tag Manager]

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

2. Install GTM tags in your website.
   * Install \[Tag 1] into the \[head] tag
   * Install \[Tag 2] into the \[body] tag

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

Reference : <https://developers.google.com/tag-platform/tag-manager/web>


---

# 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.adcloud.appier.com/grant-gtm-access-to-appier.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.
