Please can you advise where I put the google analytics code on my site?
This is their instruction:
Website Tracking
Global Site Tag (gtag.js)
This is the Global Site Tag (gtag.js) tracking code for this property. Copy and paste this code as the first item into the <HEAD> of every webpage you want to track. If you already have a Global Site Tag on your page, simply add the config line from the snippet below to your existing Global Site Tag.
Does it mean I have to remove my ad code or can I have both (preferred).
Thanks, but I tried that and I got this error message:
Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards).
I figured this out and got it to work and thought I would let you in case anyone else has this problem in the future - I was posting the code after the code I already had in there. But I needed to post the google one 1st. After I did that it worked. Cheers
Hi and thanks,
Please can you advise where I put the google analytics code on my site?
This is their instruction:
Website Tracking
Global Site Tag (gtag.js)
This is the Global Site Tag (gtag.js) tracking code for this property. Copy and paste this code as the first item into the <HEAD> of every webpage you want to track. If you already have a Global Site Tag on your page, simply add the config line from the snippet below to your existing Global Site Tag.
Does it mean I have to remove my ad code or can I have both (preferred).
Cheers Adrianne
Hi,
You can add the code via Customize > Logo and Header Options > Add custom code inside <head> tag
Best Regards,
PenciDesign
Hi,
You can add the new code below that code. Don't add <br> tag between that codes because it will make all codes there doesn't work.
Best Regards,
PenciDesign
Thanks, but I tried that and I got this error message:
Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards).
Any ideas?
Cheers
Hi,
It's not related with our theme. You should ask google support about this.
Best Regards,
PenciDesign
Thank-you, will do.
I figured this out and got it to work and thought I would let you in case anyone else has this problem in the future - I was posting the code after the code I already had in there. But I needed to post the google one 1st. After I did that it worked. Cheers