I have a website based on w开发者_如何学Pythonordpress. I want to implement a click tracking system on some of external links. Is there any method of doing so without using any external website or google analytic s. Can't i call some external php script to run when the link is clicked and keep incrementing a variable everytime. Please help . Thanks in advance
You can link to a script that tracks redirects and redirects the user.
<a href="./out.php?url=http://domain.com">outbound link</a>
UPDATE: Don't forget to redirect with the status 301 to preserve the PageRank value added to the linked site.
精彩评论