Tania Perez
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Thank you Paolo!!!
Let me get more traffic and I wiil 🙂
Best!
It´s working now.. don´t know what happened.
If you could still check to see if everything is correct that would be great
Thanks
This reply has been marked as private.This reply has been marked as private.Paolo, it did 🙂
I didn´t wanted to place it there since Google recommends to do it after body tag and not footer, to be more accurate, but it seems to be working.
If there´s a way to do it after the body it would be awesome, if not, this can work for now
Thank you!
Thank you Alex, that´s exactly where I need help, inserting the second part after the <body> tag without touching the parent theme.
This is what I need to insert:
Copy the following snippet and paste it immediately after the opening <body> tag on every page of your website, replacing GTM-XXXX with your container ID:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>This reply has been marked as private.can you help with the right snippet?
If I just copu and paste both of them it doesn´t work.
I guess the header part is ok, but not the body
Greetings
Should I add the add_action part?
Thanks Alex, both parts?
To implement Google Tag Manager on your website:
Copy the following JavaScript and paste it as close to the opening <head> tag as possible on every page of your website, replacing GTM-XXXX with your container ID:
<!– 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-XXXX’);</script>
<!– End Google Tag Manager –>Copy the following snippet and paste it immediately after the opening <body> tag on every page of your website, replacing GTM-XXXX with your container ID:
<!– Google Tag Manager (noscript) –>
<noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-XXXX”
height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
<!– End Google Tag Manager (noscript) –>This reply has been marked as private.sorry for the typos, I meat track every otbound link on every listing 🙂
Thank you!!!
You rock!
-
AuthorPosts