Solved

Count number of clicks on a URL

Posted on 2013-05-17
1
278 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 78

Accepted Solution

by:
David Johnson, CD, MVP earned 500 total points
Comment Utility
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

What Security Threats Are You Missing?

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

7 Experts available now in Live!

Get 1:1 Help Now