# Google Tag Manager Installation

**URL:** https://community.sitejet.io/t/google-tag-manager-installation/381
**Category:** Website Builder
**Tags:** cms\_code
**Created:** [June 21, 2021, 9:09am UTC](https://community.sitejet.io/t/google-tag-manager-installation/381 "2021-06-21T09:09:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Suman\_S](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Suman\_S](https://community.sitejet.io/u/Suman_S)
#### Post date: [June 21, 2021, 9:09am UTC](https://community.sitejet.io/t/google-tag-manager-installation/381/1 "2021-06-21T09:09:20Z")

</div>

How to install codes of GTM both in the Head and in the Body?

---

<div class="post-metadata">

### Author: ![Lucian\_Dinu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/lucian_dinu/32/141_2.png) [@Lucian\_Dinu](https://community.sitejet.io/u/Lucian_Dinu)
#### Post date: [June 21, 2021, 9:13am UTC](https://community.sitejet.io/t/google-tag-manager-installation/381/2 "2021-06-21T09:13:40Z")

</div>

Hi! You can add custom code in the header or body.  
For header: Website → Website settings → SEO / META (tab) → Meta tags  
For body: Asset manager → HTML - add your custom code after` {{content}}`

More info is here: [https://help.sitejet.io/article/440-use-custom-html-css-and-javascript-code](https://help.sitejet.io/article/440-use-custom-html-css-and-javascript-code)

---

<div class="post-metadata">

### Author: ![Suman\_S](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@Suman\_S](https://community.sitejet.io/u/Suman_S)
#### Post date: [June 21, 2021, 9:21am UTC](https://community.sitejet.io/t/google-tag-manager-installation/381/3 "2021-06-21T09:21:03Z")

</div>

Thank you!  
While I had got the idea from help files that Meta tags should be used to add GTM Header codes but was not sure for Body tags.

Now I understand that GTM body tags should be added **after** the Content.

![Capture](https://europe1.discourse-cdn.com/flex017/uploads/sitejet/original/1X/d610cc3190e99b32a081238c5537650e47667db2.png)

---

<div class="post-metadata">

### Author: ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)
#### Post date: [June 21, 2021, 10:18am UTC](https://community.sitejet.io/t/google-tag-manager-installation/381/4 "2021-06-21T10:18:40Z")

</div>

Beautiful and correct @Lucian_Dinu❤ 🙌

---

<div class="post-metadata">

### Author: ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)
#### Post date: [June 21, 2021, 10:18am UTC](https://community.sitejet.io/t/google-tag-manager-installation/381/5 "2021-06-21T10:18:58Z")

</div>

Will add that information to the article ❤

---

<div class="post-metadata">

### Author: ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)
#### Post date: [October 20, 2021, 3:42pm UTC](https://community.sitejet.io/t/google-tag-manager-installation/381/6 "2021-10-20T15:42:37Z")

</div>


