Google analytics

Hello,

I can’t manage to get analytics working for my site.

I’m unsure of the code i should put in the customize/header/analytics field.

Thank you for your help.

This is the whole Global Site Tag (gtag.js)

Hello,

Please follow https://www.support.waituk.com/hc/en-us/articles/115004519933-How-to-add-Google-Analytics-Code

In your case, you would only add:

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());

gtag(‘config’, ‘UA-121335805-3’);

Thank you

Yes, that’s what i tried but analytics doesn’t receive the data…

What could be the problem?

Please let me know how to make this working, its pretty important, we are launching…


Hello,

Reactive support on this issue would be appreciated.

Thank you.

Hello,

When you go to GA Taking Code section - does this show as “Receiving Traffic” or not, please take a screenshot like the one below and share, this is specific to your site only as our own test site is receiving data and also haven’t had other users face this issue other than when they include the script tag.

Putting the script from the customize pannel didn’t work for me. I put it directly and entirely in the child header.php.

Is that working for you now?

Yes thank you. …