Ad Code

How to stop tracking your own page views blogger

how to stop tracking your own page views blogger


In this post, let us discuss how to stop tracking your own pageviews of the blogger website in google chrome. We know that our own page view count doesn’t give an exact analysis of the blog visitors, hence we will enable this option to avoid the tracking of our own views.  

Step 1: Open the Chrome browser and navigate to your website. 


Google chrome website navigation

Step 2: Right-click on any part of the website, and select inspect option from the menu

Right click in the google chrome


Step 3: Browser gives multiple options in the developer console as shown below

Inspect element options in the google chrome


Step 4: Click on the console tab

Console in the google chrome


Step 5: Click the highlighted button in the below-shown screenshot, it will clear the console. 

Clear console in the google chrome


Step 6: Copy this below-mentioned code and paste it in the console and press enter

function
 createCookie(name,value,days) {
    if (days) {
        var date = new Date();
        date.setTime(date.getTime()+(days*24*60*60*1000));
        var expires = "; expires="+date.toGMTString();
    }
    else var expires = "";
    document.cookie = name+"="+value+expires+"; path=/";
}
createCookie("_ns", "2", 999);

Console code in the google chrome


That’s it. Now go back to any of recent posts in your website/blog, refresh the page multiple times and check if the view count changes in the stats tab of your blogger account.

check daily stats in the blogger


I hope this helps you out to avoid tracking of self-views in the blogger website. Let me know if you see any issues in implementing this change. 



Post a Comment

1 Comments