Archived topic
Google Verification Site Failed (with Google Analytics)
1 reply · Started by Fabrizio on May 30, 2021
I tried to verify my site with the GA asynchronous code in the head section, by creating a new Hook Element with tagging
wp_head
But then I get this response
Google Analytics Verification failed. The Google Analytics tracking code on your site is in the wrong location. You can verify site ownership with the asynchronous snippet placed in the <head> section of your home page.
What can I do to verify the site also with this method? Thanks
Hi there,
Just to confirm, the first block of code is what you are adding right?
https://developers.google.com/analytics/devguides/collection/analyticsjs
If so wp_head with a hook element is the correct method.