javascript - 网站埋点,统计用户数据

WBOY
Release: 2016-06-06 20:23:09
Original
1602 people have browsed it

我想统计用户在我的网站上所有的交互行为,例如在某个页面停留的时间,跳出时间,点击了哪个商品(页面会有很多个)。不知道怎么js实现原理,希望知道的帮我解答一下。

回复内容:

我想统计用户在我的网站上所有的交互行为,例如在某个页面停留的时间,跳出时间,点击了哪个商品(页面会有很多个)。不知道怎么js实现原理,希望知道的帮我解答一下。

做一个公用的onclick,根据传入参数的不同,记录用户执行的操作。将这些记录存放到cookie中

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!