You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the plugin registers every time a user clicks on the banner. So if a user clicks 50 times in 50 seconds, the plugin will return 50 clicks.
Is there a way/reason to prevent this by using a JS like this one?
The idea is to generate a cookie with an expiration of 24 hours (maybe) or longer, each time a user clicks on the banner.
There's no need for complicated IP storing/checks, as it would be too much, and would complicate stuff, so a cookie would be the easiest way.
What do you think?
The text was updated successfully, but these errors were encountered:
Yeah, I was thinking of just a quick and simple solution for the average user that clicks on banners.
Indeed the PHP side would work better and also would give the posibility to keep track of clicks done on every banner position.
So if the user clicks on banner 1 - that banner is saved for 24 hours, then he clicks on banner 2 - that banner also gets saved for 24 hours, and so on.
At the moment, the plugin registers every time a user clicks on the banner. So if a user clicks 50 times in 50 seconds, the plugin will return 50 clicks.
Is there a way/reason to prevent this by using a JS like this one?
The idea is to generate a cookie with an expiration of 24 hours (maybe) or longer, each time a user clicks on the banner.
There's no need for complicated IP storing/checks, as it would be too much, and would complicate stuff, so a cookie would be the easiest way.
What do you think?
The text was updated successfully, but these errors were encountered: