<p>Not sure what you want to know: everything you need is in the 
<a href="https://developers.google.com/tag-manager/quickstart" rel="nofollow noreferrer">Quick Start Guide</a>. Just copy the two pieces in your layout and you are done.</p>

<p>In Craft you are totally free to do everything you want in your frontend templates. The system won't restrict you at all</p>

CC BY-SA 4.0
2018-05-04T12:42:47.587Z
2018-05-04T12:42:47.587Z
Robin Schambach
<p>First time user here, can any please provide information on how to best implement the GTM tag container?</p>

<p>Is it possible to hard code it? Or is the only way to add a plugin?</p>

<frontend><analytics>
How to set up Google Tag Manager correctly
# How to set up Google Tag Manager correctly

(Asked by: username_0 on 2018-05-03)

First time user here, can any please provide information on how to best implement the GTM tag container?

Is it possible to hard code it? Or is the only way to add a plugin?

**Tags:** frontend, analytics

---

## 1 answers

### Answer by username_1 on 2018-05-04. Score: 1

Not sure what you want to know: everything you need is in the
[Quick Start Guide](https://developers.google.com/tag-manager/quickstart). Just copy the two pieces in your layout and you are done.

In Craft you are totally free to do everything you want in your frontend templates. The system won't restrict you at all


---

