3 ms·
Nice, but where it stores the data?
by parisianka 6y ago
Nice, but where it stores the data?
- sndk 6y agoThanks! In a central database. It does not save your historical data, only the latest updated counter value.
- parisianka 6y agoSome time ago I was looking something like this, really. And how can I count clicks on a button with HTML/JS, is it OK?: <button><a href="https://counting.world/api/set/value?name=My https://counting.world/api/set/value?name=My counter&secret=MYSECRET&value=1">PRESS ME</a></button>
- sndk 6y agoYour example would always set the counter to 1 and not increment it. From what I understood you would like to set the counter to "current value" + 1. Unfortunately there is no API at the moment to retrieve the current value. Task for the next version. Thanks for the idea! As a side note this would also trigger a navigation away from your site not something you probably want. You should be doing this behind the scenes with JS. You could look into https://countapi.xyz/ https://countapi.xyz/. You won't get the displaying part but there's an API for your use case.
- parisianka 6y agoThanks! Exactly, "current value" + 1 is a "must have"