跟踪网站上大多数点击链接的最佳方式 [英] Best way to track most clicked links on website
问题描述
我正在尝试设计一个跟踪网站上点击次数最多的链接的系统。
我是新手,所以请原谅我的无知。我看到两种可能性:
1.单击链接时,使用Javascript将元素上的信息传递给PHP脚本,该脚本将信息插入MySql数据库。 />
2.使用Google Analytics跟踪点击次数,然后使用Google API访问包含大多数点击链接信息的远程数据库。
我是否正确地思考这个问题?
非常感谢。
< blockquote>是的,你是在正确的道路上。 WebTrends也是一个很好的产品。就个人而言,我会使用现有产品来做这件事。
Hi, I''m am trying to design a system that tracks the most clicked links on a website.
I am new to this so please forgive my ignorance. I see two possibilities:
1. When link is clicked, use Javascript to pass info on element to a PHP script, which inserts info into a MySql database.
2. Use Google Analytics to track clicks, and then use the Google API to access a remote database with info on most clicked links.
Am I thinking about this the right way?
Many thanks.
Yes, you are on the right path. WebTrends is also a good product. Personally, I would use an existing product to do it.
这篇关于跟踪网站上大多数点击链接的最佳方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!