class click counter save number

by Vivek   Last Updated June 12, 2019 06:08 AM

When the user clicks class count the counter should work:

<div class="pop-btn" class="counter"><a href="https://www.example.com">Know More</a></div>
<div class="count"></div>

The problem is that I want the number to be saved, so for example:

user #1 clicks on the div with class "counter" 10 times

user #2 opens the site and the count is at 10, he clicks and now the counter starts 11 and so on with new users.

I'm trying to do this to keep track of how many times a file has been downloaded.

Any idea how can I do that?



Related Questions


Updated February 09, 2017 14:03 PM

Updated July 08, 2016 08:01 AM

Updated April 26, 2015 00:03 AM

Updated July 15, 2015 16:03 PM

Updated March 20, 2016 08:03 AM