最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - How do you find the number of users that have disabled JavaScript in the browser? - Stack Overflow

programmeradmin0浏览0评论

I want to get a count of number of user has disable javascript in browser. as google analytics code run on JS so i am not getting any count of nonJS user

Is there any tool or any site ?

I want to get a count of number of user has disable javascript in browser. as google analytics code run on JS so i am not getting any count of nonJS user

Is there any tool or any site ?

Share Improve this question edited Jan 23, 2012 at 16:03 Simon Sarris 64k13 gold badges149 silver badges174 bronze badges asked Jan 23, 2012 at 16:01 mikulmikul 5366 silver badges14 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 2

You can install something server-side to see how many unique visitors you are serving to.

Then you pare this number to the Google Analytics numbers to see how many of them have JavaScript disabled.

Have a look at Yahoo's How many users have JavaScript disabled?, which documents a methodology.

Basically you can have a <noscript> tag, and some kind of counter in that tag (e.g. an image, or better an online non-JavaScript counter service). It will only be loaded (accessed) for the browsers which are not running browsers. However counting the image hits (in your access log) will give you hits with JS disabled, rather than unique visitors—if you use an online non-JavaScript counter service, this is likely to give you unique visitors.

Google provides solutions for: PHP, JSP, ASP.NET, and Perl. https://developers.google./analytics/devguides/collection/other/mobileWebsites

All solutions generate <img> tag.
Source code is provided, so you can port to any other language.

发布评论

评论列表(0)

  1. 暂无评论