| |||||||
| Blogging Basics Come here to learn the basics of blogging. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
|
This must have been answered explicitly here before, but I can't seem to find it. How/where do I add the Google Analytics code to monitor my WordPress blog? I have figured out how to add the code to my own pages, which I designed myself in GoLive. But I did a WordPress installation as a subdomain, and wonder how to get all of those pages' statistics? The blog is here: Defining Moments
__________________ http://www.adamsonstudios.com/blog/ |
Don't Like Ads?? Register as a Member and These Ads Will Disappear!
|
#2
| ||||
| ||||
|
Hi Todd, Place the code in your footer or sidebar right before the end of the body. This way it will appear on and track all of your pages. Thanks for asking and let us know if you need any further clarification Rob Quote:
__________________ ***To NEW Users: You can Add Signatures and Show Off Your Blog once you make 15 posts*** Stop Having a Boring Life Video Blog |
|
#3
| |||
| |||
|
Thanks a lot, Rob! I'll do it right now, and let you know if I have any trouble getting it to work.
__________________ http://www.adamsonstudios.com/blog/ |
|
#4
| |||
| |||
|
I put the code in the footer, like Rob suggested, and it works well for me. It's nice that you only have to put it one place and it carries over to all your posts/pages.
|
|
#5
| |||
| |||
|
Rob, my footer and sidebar files have no "body" tag. Is the div tag the same thing?? I notice my main index template has a body tag.
__________________ http://www.adamsonstudios.com/blog/ |
|
#6
| |||
| |||
| so can I just drop it in right in front the /div tag?
__________________ http://www.adamsonstudios.com/blog/ |
|
#7
| |||
| |||
|
Your footer doesn't have a </body> tag?
|
|
#8
| |||
| |||
|
No. If I am understanding you correctly...I go to the theme editor, click on footer.php, and there's barely anything there. It's just a couple of lines, between div tags. I notice in the index.php file there's a reference to "get footer" right before div, body, and html tags. Srry, I'm kinda dense...pretty unfamiliar with code.
__________________ http://www.adamsonstudios.com/blog/ |
|
#9
| |||
| |||
|
I'm not familiar with working in the theme editor, I usually use Dreamweaver for the code. You definitely don't want to put it anywhere in the tag that says "get footer." That's what tells WordPress to show your footer on a page, it doesn't really control what's in the footer though. Do you see the </body> tag anywhere? |
|
#10
| |||
| |||
|
I just did a search, check out this plugin.
|