开发者

Tracking clicks on outbound links

开发者 https://www.devze.com 2023-01-06 14:03 出处:网络
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 goo

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号