Answer the question
In order to leave comments, you need to log in
How to track the number of clicks on a link/banner?
I want to install a banner on the site with a link to the publication. But in parallel, I want to keep statistics on the number of clicks on this banner. How can this be done simply. Site on VP, maybe there is some kind of plugin. Plz tell me in which direction to dig
Answer the question
In order to leave comments, you need to log in
Hello!
It seems that in Yandex webmaster or Yandex metric there is a "Click Map".
But here's our own implementation:
By clicking on the banner, send an Ajax request to the server and increment the value of the variable stored in the database and redirect the user to the publication page. The database will always have the number of clicks
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question