Google Analytics:我可以在单页网站中跟踪HTML部分的显示吗?

时间:2015-11-06 11:29:33

标签: google-analytics

我有一个单页网站,包括:

<body>
  <section id="#section1"> content here </section>
  <section id="#section2"> content here </section>
  <section id="#section3"> content here </section>
  <section id="#section4"> content here </section>
</body>

使用Google Analytics,有没有办法知道用户何时到达特定部分?最后,我想知道访问我网站的用户是否滚动到底部。 谢谢!

1 个答案:

答案 0 :(得分:1)

有一个名为Scroll Depth的jQuery插件,您插入HTML部分并在用户到达时触发事件。这是配置的样子:

jQuery.scrollDepth({
  elements: ['#section1', '#section2','#section3', '#section4']
});