analytics/tracker/test
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
..
fixtures Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
support Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
custom-event-edge-cases.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
file-downloads.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
hash-exclusions.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
manual.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
outbound-links.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
pageleave.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
pageview.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
revenue.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
scroll-depth.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00
tagged-events.spec.js Average Scroll Depth Metric: extracted tracker changes (#4826) 2024-11-21 14:29:52 +00:00