Tagged: google analytics, Yoast
Hi
I am trying to verify my account with Google but am getting this error message “The Google Analytics tracking code on your site looks malformed”. Can you take a look?
Many thanks
Faye
Hey FayeMcC,
I added the full code to your Google Analytics Tracking Code box, could you check if the error message is still there?
Best regards,
Rikard
Hi Rikard
Yes the error message is still there.
Thanks
Faye
Hi Faye,
Where did you get the code and how are you adding it? I don’t see it in the header.php or the functions.php file.
Best regards,
Victoria
Hi Victoria
Rikard added it for me. I got the code from Google analytics page
Can you add it to header.php or the functions.php?
See login details below in private content
…or i can send you the html file?
Thanks
Faye
Hi FayeMcC,
Best regards,
Victoria
Hi Victoria
Thanks for your help.
Where abouts in the functions.php file do i need to place this code…anywhere in particular? At the end?
Thanks
Faye
Thanks Victoria
I found another way.
I have the Yoast SEO plugin and added the meta data using this. Go to Webmaster Tools tab and past code in ‘Google search console’ (the meta code generated when trying to verify). Site has now been verified.
…Still can’t claim my knowledge panel, but this is something Google needs to help me with i think.
Thanks for all your help.
Regards
Faye
Hi Faye,
Ok, thank you for letting us know. Hope you’ll get it working soon.
Best regards,
Victoria