How do you implement ‘scroll depth tracking’ with a specific threshold in GA4 (e.g., 75%) beyond the default 90%?

Google Analytics GA4 Hard

Google Analytics GA4 — Hard

How do you implement ‘scroll depth tracking’ with a specific threshold in GA4 (e.g., 75%) beyond the default 90%?

Key points

  • Disabling the default scroll tracking is necessary
  • Custom JavaScript event must be created for 75% tracking
  • Data is sent to GA4 using gtag('event', 'scroll', {percent_scrolled: 75})
  • This method allows for precise scroll depth tracking

Ready to go further?

Related questions