DataLayer Template – Matomo Tracking


DataLayer Template Documentation

This page contains a comprehensive Matomo DataLayer template that can be used across your WordPress site.

Features Included:

  • ✅ Automatic page view tracking with device and browser detection
  • ✅ Scroll depth tracking (25%, 50%, 75%, 90%, 100%)
  • ✅ Time on page milestones
  • ✅ Exit intent detection
  • ✅ Automatic external link tracking
  • ✅ Email and phone link tracking
  • ✅ Form submission tracking
  • ✅ Download tracking
  • ✅ Video interaction tracking
  • ✅ E-commerce tracking functions

Test the DataLayer:


Test Email Tracking

Open your browser’s developer console to see the dataLayer events being tracked!