Thursday, August 14, 2014

Workaround To Solve "Don't track your own pageviews" Issue For Blogger Blogs

You have a Blogger blog .When you click on "Don't track your own pageviews" link, you are getting "There was an error while fetching stats. Please reload page.". Reloading the page doesn't help either. You are getting the same error message. The probable cause is that you are using custom domain for your blogspot blog. There's a workaround. But first let me tell you how this "Don't track your own pageviews" feature works. It will set a blocking cookie in your browser. Google then can ignore any subsequent requests coming from that browser with that cookie. So to solve this issue, it need to be set manually.
Submit the below url from your browser address bar after replacing "yourdomain.com" with your own domain name:

www.yourdomain.com/b/statsBlockingCookie?action=SET&callback=__gwt_jsonp__.P2.onSuccess

And you will get response like below:

// API callback
__gwt_jsonp__.P2.onSuccess({"status":"yes"});


It's fixed. You can check by visiting your blog from the browser. The pageview stats should remain same. You need to do this for every browser from where you access your Blogger blog. And remember, if you clear your cookies from a browser you will need to do it again there.

31 comments:

  1. Thanks, it worked (pomage.com).

    ReplyDelete
  2. Replies
    1. What's your blog url?
      It should be working. Did you get the "status:yes" message?

      Delete
    2. it didn't work with my site: www.cahayaquran.com. i get the status:yes mesage but it still didn't work.

      Delete
    3. my mistake. it worked. thanks for your advice

      Delete
  3. Ah, thank you for the simple solution.

    ReplyDelete
  4. Hiya, I don't get that message. The "don't track my views" box will stay ticked but will still track my pageviews. I tried your method above and it still doesn't work.
    my blog is thelifeofastudenttraveller.blogspot.com and my browser is chrome. Hope you can help! Thanks in advance.
    Steph x

    ReplyDelete
  5. Hi, As a complete novice to blogging, at first I had presumed I was missing something obvious, but I am having the same issues as Steph (above); using chrome, not getting the reported error message but still tracking my own views, and recommended method seems not to work. It would be great to hear of an alternative solution.

    ReplyDelete
  6. @Steph, @Writing in Morsels,
    Looks like you are not using custom domain for your blogs. In that case, "don't track my views" box should work just fine. Make sure your browser is allowed to store third party cookies. And you need to make sure that you are not deleting this cookie once stored for not tracking your page views.

    ReplyDelete
  7. Thanks for the tip! Worked on my blog. :)

    ReplyDelete
  8. It didn't work...

    http://www.washed-water.com/b/statsBlockingCookie?action=SET&callback=__gwt_jsonp__.P2.onSuccess

    // API callback
    __gwt_jsonp__.P2.onSuccess({"status":"yes"});

    ABOVE IS WHAT SHOWED UP. My blog is washed-water.com

    ReplyDelete
    Replies
    1. API response that you got is correct, it should have worked fine. I am not sure. But I just noticed one thing. Your old blogspot url http://washed-water.blogspot.in is not redirecting to your new custom domain url washed-water.com properly. It's showing message like this:
      You're about to be redirected

      The blog that used to be here is now at http://www.washed-water.com/.

      Do you wish to be redirected?

      This blog is not hosted by Blogger and has not been checked for spam, viruses and other forms of malware.

      Yes No

      I think you can fix this issue first so that your old url redirects to new url properly and then try again for page view fix.

      Delete
  9. Strangely, It doesnt work on my site. Status Yes, but still gets the error.
    www.akhmerscholar.info

    ReplyDelete
    Replies
    1. It's only a parked page at GoDaddy. Guess you removed your blog from the domain.

      Delete
    2. Hi, on my page iti did not work either, even though I entered twice and received the message with 'yes'.... What shall I do?

      Delete
  10. So, to make sure I understood: after doing this, Blogger will not track me anymore... but the "Don't track you own..." checkbox will still not work, unless I stop using my own domain.
    Yes, no?!

    ReplyDelete
  11. Hi there! My page is "http://comopalabrasdevidrio.blogspot.com" , so I entered:

    http://www.comopalabrasdevidrio.blogspot.com/b/statsBlockingCookie?action=SET&callback=__gwt_jsonp__.P2.onSuccess

    I got the callback message, but it's still tracking my page views. What's wrong here? When I don't include .blogspot, it also does not work.

    ReplyDelete
    Replies
    1. This trick is useful when you use custom domain. As you are using normal blogspot sub-domain for your blog, clicking on "Don't track your own pageviews" link should have worked.

      Delete
  12. Hi there,
    You saved me. First I thought It didn't work 'cos I got same error message, but I checked, and still if I got the error but my tracks are not counting. :)

    http://www.stufftothink.com

    Thank you very much for the post. :)

    ReplyDelete
  13. Thank you so much. This helped on my blog www.thrillingtravel.in

    ReplyDelete
  14. thenks its work on my www.ehthink.com and www.helphindi.com

    ReplyDelete
  15. This used to work until I upgraded to Windows 10. Now it takes me to my 404 page.

    ReplyDelete
  16. I using your suggested method for my blog, since long.

    It is very helpful

    Thanks

    ReplyDelete
  17. When I do this, I don't get the success message. It just goes to my webpage and says "Sorry, the page you were looking for in this blog does not exist." Any suggestions? Thanks!

    ReplyDelete
  18. Not Working error 404 page not found

    ReplyDelete