GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   I can't get Google Analytics to work with WP default theme TwentyTen (https://gfy.com/showthread.php?t=995772)

StinkyPink 11-03-2010 07:07 AM

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

epitome 11-03-2010 07:24 AM

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?

StinkyPink 11-03-2010 07:31 AM

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.

pornguy 11-03-2010 07:32 AM

Try putting it right before the </body> tag

Depending on the theme its in the footer or index

StinkyPink 11-03-2010 07:38 AM

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.

epitome 11-03-2010 07:41 AM

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/

jkthedesigner 11-03-2010 07:43 AM

Definitely use the google analytics plugin.. it's so damn simple. You can't mess it up if you can read

candyflip 11-03-2010 07:52 AM

I just use the GA plugin already pointed out.

StinkyPink 11-03-2010 07:57 AM

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>

fris 11-03-2010 08:06 AM

all in one webmaster is also good where you can submit your sitemaps to yahoo,bing, etc right from the dashboard.

Quote:

This plugin allows you to easily integrate them with your blog. It has option to add Google, Bing, Alexa, Blog Catalog, Yahoo's Webmaster and Analytics code (meat tags). Single click sitemap submission to Google, Bing, Yahoo and Ask. In addition to that it has option to add tracking code for Clicky, Quantcast, Compete.com, SiteMeter.com analytics!! Site-Verification-Option, Google XML sitemap submission. There are more to come in next releases. Stay tuned
http://wordpress.org/extend/plugins/...one-webmaster/

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

Adraco 11-03-2010 04:15 PM

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