![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Lame
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
So Fucking Lame
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/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Too lazy to set a custom title
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:
![]() ![]() ![]() ![]() ![]()
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |