Hello
is there any option to count links click on a page. example in a page have 10 links if a user clicked any of the link on the page then count it (Link is dynamic not stable links) ?
You can use Google Analytics to track Outbound links from your site. Here's how: https://support.google.com/analytics/answer/1136920?hl=en
If you want to track each and every link on your site, attach the same handler to all links.
One way would be to create a redirect.php file and forward all of the links through it. Inside redirect.php, check for referrer and if its coming from your site, then update your database. This is what most of sites do. Eg: clicking on links in google search results
The other way to do the same without using any redirect.php would be to use javascript as done by google analytics.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.