Verify by Webmaster tools
-
I’ve tried to get my new site verified in Webmaster Tools – http://www.deadseamemories.com it;s a graphene siet with child theme. I already have an account with Adsense and Google Analytics and the site seems to be indexed.
I tried a couple of the available methods to verify by uploading the code into Graphene theme options/ advanced /head but am gettineg error messages
We weren’t able to verify your site: http://www.deadseamemories.com/
Verification failed. The Google Analytics tracking code on your site uses the traditional snippet. You can verify site ownership only with the asynchronous snippet placed in the <head> section of your home page
As far as I can see I was using the correct snippet using this method
I’m probably doing something stupid but just cant work it out.
Suggestions would be appreciated.
You are using a wrong code. Moreover you’re not putting the snippet in
<head>
tag. Asynchronous GA snippet should be like this,<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>Replace
UA-XXXXXXXX-X
with your tracking ID. You can get the whole snippet from Google Analytics dashboard.Okay thanks for getting back to me. I’ve tried again to get this to work, I copied the snipped from Google Analytics and pasted it in
options/advanced/custom<head> tags.
It still comes up with this message We weren’t able to verify your site: http://www.deadseamemories.com/
It also says Verification failed. The Google Analytics tracking code on your site uses the traditional snippet. You can verify site ownership only with the asynchronous snippet placed in the <head> section of your home page.
Now the tracking code I used looks like your example so I’m puzzled why this is happening
I still don’t see the Asynchronous GA script in your site. Did you clear WP-Super-Cache after adding the updated code to your site?
I’ve just cleared it now but still does not work. I had also tried to verify it both as http://www.deadseamemories.com and deadseamemories.com Would that have made a difference?
Also this site hosted by Hostgator is an addon site with http://www.writtentoorder as my main site – not sure if this makes any difference.
What did you actually put in the Gangrene Options –> Google Analytics or in Custom
<head>
tag? Can you post a screenshot here?Just got Wondows 8 and the’ve changed the way to do screenshot so I have just pasted info. I have taken out my Google Analytics UA number
Code to insert into the <head> element
<script type=”text/javascript”>
var _gaq = _gaq || [];
_gaq.push();
_gaq.push();
(function() {
var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
})();
</script>>
Where did you put the code? In Graphene Options > General > Google Analytics or in Graphene Options > Advanced > Custom head tags?
Put it in Graphene Options > General > Google Analytics. Then flush WP Super Cache.
Viewing 10 posts - 1 through 10 (of 15 total)
- 1
- 2
- You must be logged in to reply to this topic.