analytics/tracker
RobertJoonas 2a7d02b6f0
Average Scroll Depth Metric: extracted tracker changes (#4826)
* (cherry-pick) implement scroll depth tracking under pageleave variant

* drop unnecessary vars

* remove unused require

* add scroll depth tests

* improve error messages in test util

* reevaluate currentDocumentHeight on page load

* account for dynamically loaded content when initializing documnent height

* remove all semicolons from tracker specs

* allow window and document globals in tracker eslint

* tweak global tracker dir eslint rules

* update comment

* reevaluate document height on scroll

* add test

* remove unneccessary timeout
2024-11-21 14:29:52 +00:00
..
dev-compile Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
src Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
test Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
.eslintrc.json Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
compile.js Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
LICENSE.md Change Javascript license to MIT (#369) 2020-10-16 11:08:58 +03:00
package-lock.json Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
package.json Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
playwright.config.js Add tests for the pageleave script (#4744) 2024-10-28 15:30:03 +00:00
report-sizes.js add size reporter GH action (#4745) 2024-10-28 09:59:16 +00:00