项目作者: grahambird
项目描述 :
Page Engagement Score
高级语言: HTML
项目地址: git://github.com/grahambird/pes.git
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
- Include pes.js in your page via a