locked
ASP.net MVC - Outbound Link tracking RRS feed

  • Question

  • Hi, how would I go about tracking outbound links that users click on -
    Using the MVC framework, I would like a link that the user clicks, it then stores the time and URL to my database and then forwards the user to the external website -
    Thanks
    • Moved by Rudedog2 Monday, February 1, 2010 5:52 PM asp.net is off topic (From:Visual C# General)
    Monday, February 1, 2010 10:18 AM

Answers

All replies

  • Make a page that takes a URL or a key to a URL as query string, then make all links point to that with teh correct argument, then this page can save the details and do a Response.Redirect.

    HTH

    Ciaran
    • Proposed as answer by CiaranODonnell Monday, February 1, 2010 4:58 PM
    Monday, February 1, 2010 10:25 AM
  • ok, thanks, I'll give it a go
    Monday, February 1, 2010 4:50 PM
  • For questions related to ASP.NET use the ASP.NET forum .
    Mark the best replies as answers. "Fooling computers since 1971."
    Monday, February 1, 2010 5:52 PM