ionut.ady97
posted this
29 September 2021
ok, so the steps are like this:
Copy the code below and paste it into every page on your site.
Insert this code as high as possible into the section of the page:
(function(w,d,s,l,i){w=w||[];w.push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s),
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-5T8ZJ9Z');
In addition, insert this code immediately after the eady label:
I did the first part in an element> HTML.
Where should I put the second part ? Should I put it in the same HTML element?
ok, so the steps are like this:
Copy the code below and paste it into every page on your site.
Insert this code as high as possible into the section of the page:
(function(w,d,s,l,i){w=w||[];w.push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s),
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-5T8ZJ9Z');
In addition, insert this code immediately after the eady label:
I did the first part in an element> HTML.
Where should I put the second part ? Should I put it in the same HTML element?