Google analytics
So I am trying to put google analytics on the website and a company who is running the campaigne gave me this code, which I pasted in the SEO options of the Betheme options.
<!-- 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'});varf=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
removed this bit for privacy
})(window,document,'script','dataLayer','same here');</script>
<!-- End Google Tag Manager -->
Okay pretty straightforward. But they also gave me this snipet of code which is supposed to be pasted after the <body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="private
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
Where do I paste this? also in the SEO options of betheme?
Thanks in advance,
Andi
Comments
Hi,
The second code can be placed in Betheme -> Theme options -> Global -> Hooks.
Thanks