Need help? Check out our Support site, then


Any Way to add StatCounter code to whole site

  1. Hey everyone,

    I recently strated using Statcounter and in general I am very impressed with how much more information I can get about users by using this site.

    However, one of the first things I noticed was that the hits I was getting on the the WordPress stats were far greater than those on the Statcounter site. I finally figured out that the reason this was happening was that I had added the code to the sidebar, and many of the hits coming into my site were to individual pages (i.e. from facebook or from WordPress tags), and those individual pages were "archive entries" which didnt have the sidebar in them.

    Is there any way I can add the code so that it will be seen on my site on every page no matter what? The only other way I can think of is to manually put the code into every single blog entry.

    There's no way to edit the footer unless you have CSS editing, right?

    http://interissueforum.wordpress.com

    Cheers...

  2. I don't think you can edit it even then. I know they don't like it much if you do.

    Have you thought about changing to a different theme, one that displays only an excerpt in Archives?

  3. Would having only an excerpt in the archive help? Or would those individual page references then go to just the excerpt?

    This also led me to realize that the people accessing via these hits also would not see my RSS feed icon.

  4. Well, the idea with just an excerpt is that then they'd click to read the whole entry and your statcounter would be on that post itself.

    Looking at the blog, it seems your theme doesn't show the full sidebar on individual posts, though, so that wouldn't help anyway. The solution would still be to pick a different theme, but pick one that shows the sidebar on individual posts. Virtually anything but Kubrick and what you're using will do it. And some have the RSS button built right in.

  5. I have just added in the statcounter into all the posts. I think that will work. It doesnt cover hits to pictures, but I would guess that's unlikely to get many hits anyway...

    I have been thinking about changing my theme anyway, so maybe that will be another consideration.

    Thanks for the feedback!

Topic Closed

This topic has been closed to new replies.

About this Topic