Thursday, March 16, 2017

Manage Tracking Own Pageview for Custom Domain Blogger

It is easy to manage tracking own page-view for blogspot.com. For subdomain we can do it easily but this process does not work for custom domain.
How to manage tracking own pageview for custom domain in blogger
For sub-domain: We can do it by Blogger Dashboard→Stats→Manage tracking your own pageviews→ Check "Don't track my views for this blog"
Manage Own Pageview in Blogger
Click Manage Tracking Your Own Pageviews

Or directly visit the following link and check "Don't track my views for this blog."

http://www.compromath.blogspot.com/b/statsCookieManage?hl=en

Before visiting customize your sub-domain name.

For custom domain: Above the process does not work. So the millionaire question is how to manage tracking own page-view for custom domain in Blogger?

We can do it by using cookies.

Step-1: First go to your website homepage where to manage tracking own page view.

Step-2: For Mozilla Firefox right click→Inspect Element→Console or you can use short cut key CTRL+Shift+K (for Windows and Linux) and +Option+K (for Mac)

Manage Tracking Own Pageview
For Google Chrome right click→Inspect Element→Console.
Step-3: Now paste the following code and 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);
do not work pageview in blogger

You have finished. Now check page view.

Limitation: If you clear cookies from your browser, you have to do this process again. So bookmark this page to get help again.
Recommend: Get better SEO for your Blogger.
Need More Blogger Customization?
Have got this article helpful or not working? Put your comment below.
Elliyas Ahmed
Elliyas Ahmed

Hi, I am Elliyas Ahmed, the founder of ComProMath. I try to share what I learn.

Work With Me - SEO Expert, WordPress, Blogger Theme Developer on Fiverr

No comments:

Post a Comment

We appreciate your comment. Shout here.
But don't Spam. We will mark as Spam and it will harm your SEO.