> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-google-analytics-4-with-gtm/create-google-tag-manager-account.md).

# Create Google Tag Manager Account

**Step 1:** Go to the **URL** below to create a new account

<https://tagmanager.google.com/>&#x20;

**Step 2:** Click on the **Create Account** Button

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

**Step 3:** Fill up the required information in the form

* **Account Setup -** Enter the account name
* **Country -** Select your country
* **Container Setup -** Enter the container name&#x20;
* **Target platform -** Select web&#x20;

After that, you need to click on the **Create** button

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

**Step 4:** Accept the **Terms of Service Agreement** and click **Yes**

<figure><img src="/files/20eeQl3Ko8jeeprSyPd9" alt=""><figcaption></figcaption></figure>

**Step 5:** You will get the GTM Code. Copy and you need to set it in the Magento Configuration. Set **\<head> code** in the GTM and GA4 Regular code field and **\<body> code** in the GTM No-Script Code field.

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

&#x20;**Step 6:** Once the Google Tag Manager account is created you will get the **GTM Account ID** and **GTM Container ID** from the URL. You need to set it in the Magento configuration.

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