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.
Step 2: Right-click on any part of the website, and select inspect option from the menu
Step 3: Browser gives multiple options in the developer console as shown below
Step 4: Click on the console tab
Step 5: Click the highlighted button in the below-shown screenshot, it will clear the console.
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);
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.
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.
1 Comments
it works
ReplyDeletethanks