Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 14th Jun 2010, 10:02 AM   #1
HyperActive Warrior
War Room Member
 
Join Date: 2009
Location: Winnipeg, MB
Posts: 151
Thanks: 5
Thanked 6 Times in 5 Posts
Default
embedding tracking code... with wp?
Share on: 
fb share twitter share gplus share more share

Can anyone tell me, is it possible to get wp to auto insert the Analytics tracking code into a a new page as part of the 'add page' option? It only has to be in before the </body> tag, but I'm not sure if I added it into the template if it would get registered.
I have been manually entering it into each page after I'm done creating it.

I had to re-create my site from scratch, so this gave me the chance to embed the code manually. But I'm thinking there has to be a better way. If 'all in one seo' can add meta tags before </head> then there has to be a plug in or section in the template to add tracking code.

Thanks.

timber is offline  
Unread 14th Jun 2010, 10:06 AM   #2
HyperActive Warrior
War Room Member
 
Join Date: 2009
Location: Winnipeg, MB
Posts: 151
Thanks: 5
Thanked 6 Times in 5 Posts
Default
Re: embedding tracking code... with wp?
Share on: 
fb share twitter share gplus share more share

ha, turns out there is something exactlly for that... my bad... found it after I realized what I was looking for.

timber is offline  
Unread 14th Jun 2010, 12:04 PM   #3
HyperActive Warrior
 
mattalways's Avatar
 
Join Date: 2010
Location: Ontario, Canada
Posts: 278
Thanks: 1
Thanked 20 Times in 19 Posts
Default
Re: embedding tracking code... with wp?
Share on: 
fb share twitter share gplus share more share

I'd just add it to the footer.php

Don't be scared of that stuff. Just back things up before you play around.


Quit wasting your money! If you need a website, get me to do it right! I'll probably even do it for less! Design/Development/Software, I'm your guy! matt@snidge.com
mattalways is offline  
Unread 14th Jun 2010, 12:51 PM   #4
Lady WordPress
War Room Member
 
Leslie B's Avatar
 
Join Date: 2007
Location: Belgium
Posts: 1,167
Thanks: 1,053
Thanked 367 Times in 243 Posts
Default
Re: embedding tracking code... with wp?
Share on: 
fb share twitter share gplus share more share

If you are adding google analytics, there are plugins you can use so you don't need to add the analytics code to your theme files (very helpful if you change themes later). For most well-known tracking sites there are plugins you can use, actually.

Leslie

Taking it one day at a time!
Leslie B is offline  
Closed Thread


Bookmarks

Tags
code, embedding, tracking


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 02:02 PM.