Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-03-2010, 07:07 AM   #1
StinkyPink
It's all goooood.
 
Industry Role:
Join Date: Aug 2009
Location: The Hoe Stroll
Posts: 1,591
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.
StinkyPink is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:24 AM   #2
epitome
So Fucking Lame
 
epitome's Avatar
 
Industry Role:
Join Date: Jun 2009
Location: St. Petersburg, FL
Posts: 12,156
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?
epitome is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:31 AM   #3
StinkyPink
It's all goooood.
 
Industry Role:
Join Date: Aug 2009
Location: The Hoe Stroll
Posts: 1,591
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.
StinkyPink is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:32 AM   #4
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Try putting it right before the </body> tag

Depending on the theme its in the footer or index
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:38 AM   #5
StinkyPink
It's all goooood.
 
Industry Role:
Join Date: Aug 2009
Location: The Hoe Stroll
Posts: 1,591
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.
StinkyPink is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:41 AM   #6
epitome
So Fucking Lame
 
epitome's Avatar
 
Industry Role:
Join Date: Jun 2009
Location: St. Petersburg, FL
Posts: 12,156
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/
epitome is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:43 AM   #7
jkthedesigner
Confirmed User
 
jkthedesigner's Avatar
 
Industry Role:
Join Date: Aug 2010
Posts: 272
Definitely use the google analytics plugin.. it's so damn simple. You can't mess it up if you can read
__________________
Things may come to those who wait, but only the things left by those who hustle -Abraham Lincoln


ICQ:616116324
Skype: jkthedesigner
jkthedesigner is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:52 AM   #8
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
I just use the GA plugin already pointed out.
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 07:57 AM   #9
StinkyPink
It's all goooood.
 
Industry Role:
Join Date: Aug 2009
Location: The Hoe Stroll
Posts: 1,591
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>
StinkyPink is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 08:06 AM   #10
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
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/









__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-03-2010, 04:15 PM   #11
Adraco
Confirmed User
 
Adraco's Avatar
 
Industry Role:
Join Date: May 2009
Location: Onboard an airplane around the globe
Posts: 3,736
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.
__________________
----------------------------------------------------------------------------------
The truth is not affected by the beliefs, or doubts, of the majority.
Adraco is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.