Solved

Count number of clicks on a URL

Posted on 2013-05-17
1
293 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
1 Comment
 
LVL 80

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

821 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