我的网站上有更多类似 Facebook 的按钮,我想知道是否有任何方法可以跟踪其中使用了哪一个。
有什么办法可以做到这一点吗?
最佳答案
您检查过Like Plugin FAQ in the documentation吗? ?
What is the best way to know which Like button on my page generated the traffic?
Add the 'ref' parameter to the plugin (see "Attributes" above).
示例:
<fb:like ref="top_left"></fb:like>
<iframe src="...&ref=top_left"></iframe>
我认为该信息应该出现在 Facebook Insights 页面中。
关于javascript - 跟踪点击了哪个 Facebook 点赞按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6001313/