Tracking visitors with ASP.NET

Posted on 2009-02-15
Last Modified: 2012-05-06
I am wanting to track visitors to my site using ASP.NET - I've done some researching and found some good tutorials, but many of them are very old.

I know there are services out there for this already - but given the nature of the project it needs to be accessible to the site owners and not the site developers - neither of which overlap. The people who will want this information will not be the ones having access to the server or the shared hosting package in order to access the stastitics that these kind of applications generate.

I'm wondering if there are any very specific practices for it. I mainly want to know where people came from and try to track unique visitors as much as possible. An example of some of what I've found is at

Any opinions/suggestions?
Question by:veruthandai
    LVL 6

    Accepted Solution

    Hello veruthandai,

    Please find the links below and let me know if you need more information.

    Best Regards,

    Mohamed Allam
    Senior Software Engineer
    LVL 15

    Expert Comment

    I would just use google analytics.  All it takes is a little javascript in your masterpage, and you're done.  All the statistics and reports can be accessed via a login on, which can be setup for the site owners.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now