如何跟踪单击外部链接的次数? [英] How do I keep track of how many times an external link is clicked?

查看:99
本文介绍了如何跟踪单击外部链接的次数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个大学附属网站,我们想链接到另一个具有特定教学计划的网站.

I have a site affiliated with a university and we want to link to another site that has a certain teaching program.

我们如何跟踪在我们的网站中单击此链接的次数?

How can we track the number of times this link has been clicked from within our website?

推荐答案

我将使用jquery和/或ajax在后台(ajax)中触摸一个页面,该页面每点击一次链接就计入点击,然后继续允许该链接做它做的事.

I would use jquery and/or ajax to touch a page in the background (ajax) that counts hits whenever a link is clicked and then proceed to allow the link do what it does.

这篇关于如何跟踪单击外部链接的次数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆