Solved

Count number of clicks on a URL

Posted on 2013-05-17
1
297 Views
Last Modified: 2013-05-29
Hi,

I have an application that sends a URL out to clients.

I want to know how i can count the number of clicks on that particular URL, this is because the URL gets sent to a clients email and i want to check if they have clicked on it

Thanks

R8VI
0
Comment
Question by:R8VI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 81

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
ID: 39175457
make the click url unique.
i.e. campaign17052013.htm
and have that url redirect to the page you want the user to see

now all you have to do is check your iis logs for the # of hits OR within the page have it increment a counter

By adding a ?uniqueid  -- where uniqueid is a unique identifier you can also know WHICH user actually clicked on the link.

i.e.
http://www.example.com/campaign17052013?ve3ofa.html

here I used the default iis page
2013-05-17 17:09:01 ::1 GET /iisstart.htm - 80 - ::1 Mozilla/5.0+(Windows+NT+6.2;+WOW64;+rv:20.0)+Gecko/20100101+Firefox/20.0 - 200 0 0 0
2013-05-17 17:09:09 ::1 GET /iisstart.htm ve3ofa 80 - ::1 Mozilla/5.0+(Windows+NT+6.2;+WOW64;+rv:20.0)+Gecko/20100101+Firefox/20.0 - 200 0 0 1
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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