How can I track scrolling in a Google Analytics custom report?
- by SnowboardBruin
I want to track scrolling on my website since it's a long page (rather than multiple pages). I saw several different methods, with and without an underscore for trackEvent, with and without spaces between commas
 <script>  ...
...   ...
  ga('create', 'UA-45440410-1', 'example.com');   ga('send',
 'pageview');
 _gaq.push([‘_trackEvent’, ‘Consumption’, ‘Article Load’, ‘[URL]’, 100, true]); 
 _gaq.push([‘_trackEvent’, ‘Consumption’, ‘Article Load’, ‘[URL]’, 75, false]);
 _gaq.push([‘_trackEvent’, ‘Consumption’, ‘Article Load’, ‘[URL]’, 50, false]);
 _gaq.push([‘_trackEvent’, ‘Consumption’, ‘Article Load’, ‘[URL]’, 25, false]);
 </script>
It takes a day for counts to load with Google Analytics, otherwise I would just tweak and test right now.