开发者

count website traffic

开发者 https://www.devze.com 2023-03-05 01:59 出处:网络
hey, i was just wondering how would I go about monitoring or measuring the number of hits my website gets. I 开发者_开发百科want to do this from code as opposed to downloading a plug in to the page. I

hey, i was just wondering how would I go about monitoring or measuring the number of hits my website gets. I 开发者_开发百科want to do this from code as opposed to downloading a plug in to the page. It is an asp.net website. Any tutorial or code suggestions would be nice. thanks in advance.


You want to check out Google Analytics, they are awesome, and one line of code to add!

It's what I use for all the websites I manage!


You could also have a look at installing AWStats, which works by reading your web servers logs. All you need to do it change the logging settings on your server (IIS if your using Windows Server), install AWStats, which runs as a separate website, and schedule the collation of stats with a scheduled task.

Advantages: More in depth stats, particularly with visitors IP address which Google does not collect. Disadvantages: More effort to get up and running.


The best way to monitor traffic and other important metrics is to use Google Analytics. Not only can you see historical numbers for your site, but you can monitor traffic in real-time. Additionally, you can track conversions (sales) from ads or outside links.

0

精彩评论

暂无评论...
验证码 换一张
取 消