![]() |
I can't get Google Analytics to work with WP default theme TwentyTen
What gives?
Anyone else run into any problems getting the analytics code to work properly with this theme? Keeps telling me tracking is not installed. I tried putting it right before </head> and I tried putting it right after <head> and neither wants to work for me. :helpme |
I do know that depending on the tracking options you choose in GA you put it before </head> or </body>. Did you check to make sure you're putting it before the proper closing tag based on your settings?
|
Yes unfortunately I did. Says put it directly before the closing </head> tag. So I opened up header.php and pasted it in the proper location, checked that there were no errors in the code and everything.
I have Analytics on a dozen sites including a few WP sites never had any issues. It has to be the theme? I dunno. |
Try putting it right before the </body> tag
Depending on the theme its in the footer or index |
I just seen this for PHP pages, and it doesn't work either.
For any PHP pages, put the following code in a file (for example, analyticstracking.php) and upload it to your site. Then, add the following line to each template page immediately after the opening <body> tag: <?php include_once("analyticstracking.php") ?> I will try what pornguy just said. |
I did a quick Google search and saw that one guy said that he is using the GA plugin.
Try: http://wordpress.org/extend/plugins/...for-wordpress/ |
Definitely use the google analytics plugin.. it's so damn simple. You can't mess it up if you can read
|
I just use the GA plugin already pointed out.
|
Yeah the plugin works great. I had seen it before, in the last few days in fact. I don't know why I didn't think to use it, I guess I am a bit skeptic when it comes to using a lot of third party tools, but it did the trick.
Thanks guys! </thread> |
all in one webmaster is also good where you can submit your sitemaps to yahoo,bing, etc right from the dashboard.
Quote:
http://s.wordpress.org/extend/plugin...reenshot-1.png http://s.wordpress.org/extend/plugin...reenshot-2.png http://s.wordpress.org/extend/plugin...reenshot-3.png http://s.wordpress.org/extend/plugin...reenshot-4.png http://s.wordpress.org/extend/plugin...reenshot-5.png |
I think the plug in Google Analyticator is the one endorsed by and recommended by Google itself. Will give you an option of seeing your stats directly on the Blog's Dashboard.
|
All times are GMT -7. The time now is 06:37 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123