Writing a technical specification is a skill that not all specialists have. That’s why we’re sharing an example of our GTM (Google Tag Manager) terms of reference in this article. You can download this technical specification in docx format and customize it to your liking.
Technical task:
Copy the code below and paste it on every page of your website.
1. Paste the code below as close to the beginning tag of the page as possible:
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NQP9VD5D');</script>
<!-- End Google Tag Manager -->
*Please note that the ID “GTM-NQP9VD5D ” in the code must be changed to the actual one.
2. Paste the following code right after the initial tag:
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NQP9VD5D"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
*Please note that the ID “GTM-NQP9VD5D ” in the code should be changed to the actual one.
3. After installing the code, the task manager must check the correctness of the container installation.
To do this, the internal tools of the Google Tag Manager service are used, which determines the presence of the code on the site pages, and after 48 hours displays the presence or absence of errors when loading the code container on the site.