项目作者: grahambird

项目描述 :
Page Engagement Score
高级语言: HTML
项目地址: git://github.com/grahambird/pes.git
创建时间: 2018-11-28T20:03:50Z
项目社区:https://github.com/grahambird/pes

开源协议:

下载


pes.js

Page Engagement Score

Measure engagement with your website and send page scores to Google Analytics as events.

Requires

JQuery

What it does

  • On load, it scans the page for elements with the data-pes-value attribute
  • It then generates a maximum potential score from those elements
  • As the user interacts with the page, the amount of engagement is tracked
  • If the user clicks the same element twice, the score does not increase
  • When the user leaves the page, it sends a calculated score out of 100 to Google Analytics

How to use

  1. Include pes.js in your page via a