4 ms·
Has anyone used this or anything like this? Any notes on the extra js affecting page performance?
by vgprice 10y ago
Has anyone used this or anything like this? Any notes on the extra js affecting page performance?
- chrisabrams 10y agoHave had major issues with reporting using this tool with an "infinite scroll" or single page app type of setup. Serious under-reporting of the history state change.
- philipwalton 10y agoThe maxScrollTracker documentation warns against using it with an infinite scroll type of page: https://github.com/googleanalytics/autotrack/blob/master/docs/plugins/max-scroll-tracker.md#how-it-works https://github.com/googleanalytics/autotrack/blob/master/doc... As for under reporting of history state changes, have you reported a bug? Also, how are measuring to confirm that there is under reporting?
- philipwalton 10y agoThe library is designed to be loaded async, so it shouldn't affect load performance. And it uses new APIs (e.g. IntersectionObserver) and techniques like throttle/debounce for all of its event tracking, so it will likely have no noticeable impact on runtime performance.