google is asking me to update the new tag Global tag (gtag.js) and sent me a code to insert as a first element in the <Head> "This is the Global Site Tag (gtag.js) tracking code for this property. Copy and paste this code as the first element in the <HEAD> of each web page to be monitored. If the page already contains a Global Site Tag, just add the config line of the snippet below it to the Global Site Tag. CODE <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-91421377-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date());
gtag('config', 'UA-91421377-1'); </script>
Where can I put the code in the Soledad personalization And if I already have codes inside where is possible to add it?
We are also using an AMP feature for all mobile devices and I don't Know if I need to modify the AMP personalization.
Moreover I have also to include this code for my site images to appear wide on Google Discover in the <Head> of each page of the site.
For AMP - don't put the code to AMP because it will make your AMP can't be validateAMP has support option for Google analytics already - let's use analytics options for AMP.
But rorry, I don't find the option you mentioned "You can put the code to Customize > General Options > Add Custom Code Inside <head> Tag" You mean I need to put code in this position? See "screenshot 1"
Inside I already have a code for adsense - see below --------------------------------------------- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- TAGC_DAHR1 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-2611248086462335" data-ad-slot="3803067345" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
------------------------------------------------------------------ If I need to put code inside this could you please specify in which position I have to write the code?
See "Screenshot 2" for request from google sent me for the code
Hi there,
google is asking me to update the new tag Global tag (gtag.js) and sent me a code to insert as a first element in the <Head>
"This is the Global Site Tag (gtag.js) tracking code for this property. Copy and paste this code as the first element in the <HEAD> of each web page to be monitored. If the page already contains a Global Site Tag, just add the config line of the snippet below it to the Global Site Tag.
CODE
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-91421377-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-91421377-1');
</script>
Where can I put the code in the Soledad personalization
And if I already have codes inside where is possible to add it?
We are also using an AMP feature for all mobile devices and I don't Know if I need to modify the AMP personalization.
Moreover I have also to include this code for my site images to appear wide on Google Discover in the <Head> of each page of the site.
CODE
<meta name="robots" content="max-image-preview:standard">
Could you help me on this task too?
Regards
Hi,
You can put the code to Customize > General Options > Add Custom Code Inside <head> Tag
You can put the code:
<meta name="robots" content="max-image-preview:standard">
inside the option above here also.
For AMP - don't put the code to AMP because it will make your AMP can't be validateAMP has support option for Google analytics already - let's use analytics options for AMP.
Best Regards,
PenciDesign
Thank you very much for your reply!
But rorry, I don't find the option you mentioned "You can put the code to Customize > General Options > Add Custom Code Inside <head> Tag"
You mean I need to put code in this position? See "screenshot 1"
Inside I already have a code for adsense - see below
---------------------------------------------
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- TAGC_DAHR1 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-2611248086462335"
data-ad-slot="3803067345"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
------------------------------------------------------------------
If I need to put code inside this could you please specify in which position I have to write the code?
See "Screenshot 2" for request from google sent me for the code
Thank You
Hi,
Ahh sorry, it's on Customize > Logo and Header Options > Add Custom Code Inside <head> Tag
Just copy and paste the code to that option.
Best Regards,
PenciDesign