Blog Stats Are Not Working
-
For the past couple of days my blog stats have been totally messed up. Before that, the total for my highest day, which is printed on the front page, always showed less in the blog stats. Is anyone else having a problem with blog stats not working? Thanks!
-
Mine quit working yesterday and I have no idea who to contact to fix it.
I searched the forums and suspect my problem is related to a new theme I uploaded and possibly some conflict with SiteMeter code on my blog (http://antzinpantz.com/kns).
When I changed my theme I noticed I was getting no hits and realized I had forgotten to add the SiteMeter code to the new theme found here: http://themes.wordpress.net/other/left-sidebar/3685/ultraviolet-10/
At first I put the sitemeter code in the sidebar as it would not show up when I added it to the stylesheet.
Then I moved it to index.php page and it sits at the bottom of my blog.
That, obviously, fixed Sitemeter which now has stats for me but since yesterday (when I loaded the sitemeter code) I get nothing on WP Blog Stats.
Did I do something wrong? On my old theme both stats features worked ok.
-
For those interested: thanks to Mark
(https://en.forums.wordpress.com/profile.php?id=529161)
who answered my comment about this at a different post
(https://en.forums.wordpress.com/topic.php?id=24806&replies=2#post-182308)
I “broke the code” and figured it out. I dug around until I found a post about the stats (http://wordpress.org/extend/plugins/stats/faq/) and in the FAQ the author mentioned a line of code that I needed to enter before the </body> tag. I did that and all is well.
Thanks!
-
-
Did you add the line <?php wp_footer(); ?> at the bottom?
In the FAQ: What if the stats don’t start showing up? Do I need anything special in my theme?
Yes, your theme must have a call to <?php wp_footer(); ?> at the very bottom right before the </body> tag.
- The topic ‘Blog Stats Are Not Working’ is closed to new replies.