Complete Event Reference

A comprehensive guide to all 40+ events tracked by the Advanced DataLayer Tracker plugin.

Core Events

1. page_view

Event Name: page_view
Fires: Immediately on every page load
Frequency: Once per page

Description: The foundation event that fires on every page load with comprehensive page context and user session data.

Parameters:

ParameterTypeDescriptionExample
page_titlestringPage title'About Us'
page_locationstringFull URL'https://example.com/about'
page_referrerstringPrevious page'https://google.com'
session_idstringUnique session ID'sess_abc123'
session_numbernumberSession count for user3
page_typestringWordPress page type'page', 'post', 'product'
logged_inbooleanUser login statustrue

Example DataLayer Push:

{
  event: 'page_view',
  page_title: 'About Us - Company Name',
  page_location: 'https://example.com/about',
  page_referrer: 'https://google.com',
  session_id: 'sess_abc123_1234567890',
  session_number: 1,
  page_type: 'page',
  logged_in: false
}

2. session_engagement_milestone

Event Name: session_engagement_milestone
Fires: When user crosses engagement thresholds
Frequency: Multiple times per session (at milestones)

Description: Tracks when users reach significant engagement levels during their session.

Milestone Thresholds:

  • 30 seconds active time
  • 60 seconds active time
  • 120 seconds active time
  • 3+ pages viewed
  • 5+ pages viewed

Parameters:

ParameterTypeDescriptionExample
milestone_typestringType of milestone reached'active_time_30', 'pages_3'
session_idstringSession identifier'sess_abc123'
active_timenumberTotal active seconds35
page_viewsnumberPages viewed this session4

Engagement Events

3. scroll_depth

Event Name: scroll_depth (also scroll_25, scroll_50, scroll_75, scroll_100)
Fires: At scroll milestones
Frequency: Up to 4 times per page

Description: Tracks how far users scroll down the page at key milestones.

Parameters:

ParameterTypeDescriptionExample
percent_scrollednumberScroll depth percentage25, 50, 75, 100
page_heightnumberTotal page height3200
viewport_heightnumberVisible screen height800
session_idstringSession identifier'sess_abc123'

Example:

{
  event: 'scroll_depth',
  percent_scrolled: 75,
  page_height: 3200,
  viewport_height: 800,
  session_id: 'sess_abc123'
}

4. scroll_back_up

Event Name: scroll_back_up
Fires: When user scrolls back up significantly
Frequency: Multiple times per page

Description: Detects when users scroll back up to re-read content, indicating confusion, hesitation, or high engagement with specific sections.

Parameters:

ParameterTypeDescriptionExample
scroll_directionstringDirection of scroll'up'
scroll_amountnumberPixels scrolled up450
current_positionnumberCurrent scroll position1200
session_idstringSession identifier'sess_abc123'

5. time_on_page

Event Name: time_on_page
Fires: Every 30 seconds
Frequency: Multiple times per page

Description: Tracks elapsed time on page including background time (tab not focused).

Parameters:

ParameterTypeDescriptionExample
time_secondsnumberCumulative seconds on page30, 60, 90
page_visiblebooleanTab currently visibletrue
session_idstringSession identifier'sess_abc123'

6. active_time

Event Name: active_time
Fires: Every 30 seconds
Frequency: Multiple times per page

Description: Most Important Engagement Metric – Tracks only the time users are actively interacting (mouse movement, scrolling, typing, clicking). This is the gold standard for measuring true engagement.

Parameters:

ParameterTypeDescriptionExample
active_secondsnumberCumulative active time28, 57, 83
page_visiblebooleanTab currently visibletrue
interaction_ratenumber% of time active0.93
session_idstringSession identifier'sess_abc123'

Why It Matters:

  • Filters out idle/background time
  • True engagement indicator
  • Quality traffic measurement
  • Lead scoring foundation

7. focus_blur

Event Name: focus_blur
Fires: When tab focus changes
Frequency: Multiple times per session

Description: Detects when users switch tabs or windows, helping understand multi-tasking behavior.

Parameters:

ParameterTypeDescriptionExample
visibility_statestringTab state'visible', 'hidden'
time_awaynumberSeconds tab was hidden45
session_idstringSession identifier'sess_abc123'

8. hover_intent

Event Name: hover_intent
Fires: When user hovers over interactive elements
Frequency: Multiple times per page

Description: Detects meaningful hover behavior (500ms+) over buttons, CTAs, and links.

Parameters:

ParameterTypeDescriptionExample
element_textstringText of element'Request Demo'
element_typestringElement type'button', 'link'
hover_durationnumberHover time in ms750
element_classesstringCSS classes'btn-primary cta'
session_idstringSession identifier'sess_abc123'

Content Intelligence Events

Premium Feature

9. content_intelligence

Event Name: content_intelligence
Fires: Shortly after page load
Frequency: Once per page

Description: Automatically detects content type and analyzes page structure without manual tagging.

Auto-Detected Content Types:

  • homepage
  • product_page
  • blog_post
  • landing_page
  • pricing_page
  • about_page
  • contact_page
  • documentation
  • checkout
  • cart

Parameters:

ParameterTypeDescriptionExample
content_typestringDetected content type'product_page'
engagement_scorenumberPredicted engagement score78
content_lengthnumberContent word count1450
has_videobooleanVideo presenttrue
has_formsbooleanForms presenttrue
section_countnumberNumber of sections7
session_idstringSession identifier'sess_abc123'

10. section_engagement

Event Name: section_engagement
Fires: When user dwells on a section
Frequency: Multiple times per page

Description: Tracks which page sections users spend time in (3+ seconds of dwell time).

Markup Required:

<section data-adt-section="hero" data-adt-section-title="Hero Section">
  <!-- Your content -->
</section>

Parameters:

ParameterTypeDescriptionExample
section_idstringSection identifier'hero'
section_titlestringHuman-readable title'Hero Section'
dwell_timenumberTime spent in section12
scroll_depthnumberHow far they scrolled85
session_idstringSession identifier'sess_abc123'

11. last_engaged_section

Event Name: last_engaged_section
Fires: On page exit
Frequency: Once per page

Description: Records which section the user was last engaged with before leaving or tabbing away.

Parameters:

ParameterTypeDescriptionExample
section_idstringLast section ID'pricing'
section_titlestringSection name'Pricing Plans'
total_time_in_sectionnumberTotal dwell time23
session_idstringSession identifier'sess_abc123'

12. last_content_type_viewed

Event Name: last_content_type_viewed
Fires: On page exit
Frequency: Once per page

Description: Records the content type of the last page viewed before exit.

Parameters:

ParameterTypeDescriptionExample
content_typestringContent type'pricing_page'
session_idstringSession identifier'sess_abc123'

13. cta_exposure

Event Name: cta_exposure
Fires: When CTA enters viewport
Frequency: Once per CTA per page

Description: Tracks when call-to-action elements become visible to users.

Markup Required:

<button data-adt-cta="Request Demo" data-adt-cta-position="hero">
  Request Demo
</button>

Parameters:

ParameterTypeDescriptionExample
cta_textstringCTA button text'Request Demo'
cta_positionstringPosition on page'hero', 'footer'
time_to_exposurenumberSeconds until visible3.2
scroll_depth_at_exposurenumberScroll % when visible25
session_idstringSession identifier'sess_abc123'

Form Events

14. form_start

Event Name: form_start
Fires: When user focuses first field
Frequency: Once per form per page

Description: Indicates user intent to complete a form.

Auto-Detected Form Platforms:

  • Gravity Forms
  • Contact Form 7
  • WPForms
  • Formidable Forms
  • Marketo (Premium)
  • HubSpot (Premium)
  • Pardot (Premium)
  • Generic HTML forms

Parameters:

ParameterTypeDescriptionExample
form_idstringForm identifier'contact-form'
form_namestringForm name'Contact Us'
form_vendorstringDetected platform'gravity_forms'
field_countnumberNumber of fields7
session_idstringSession identifier'sess_abc123'

15. form_submit

Event Name: form_submit
Fires: When form is submitted
Frequency: Once per form submission

Description: The ultimate conversion event for forms.

Parameters:

ParameterTypeDescriptionExample
form_idstringForm identifier'contact-form'
form_namestringForm name'Contact Us'
form_vendorstringDetected platform'gravity_forms'
completion_timenumberSeconds to complete47
field_countnumberNumber of fields7
session_idstringSession identifier'sess_abc123'

16. form_field_interaction

Event Name: form_field_interaction
Fires: On field blur after interaction
Frequency: Multiple per form

Description: Tracks individual field interactions to identify friction points.

Parameters:

ParameterTypeDescriptionExample
form_idstringForm identifier'lead-form'
field_idstringField identifier'email'
field_typestringInput type'email'
field_namestringField name'user_email'
interaction_timenumberTime in field (seconds)8
total_interactionsnumberFocus/blur count3
field_value_lengthnumberCharacters entered24
session_idstringSession identifier'sess_abc123'

Use Case: Identify which form fields cause users to hesitate or abandon.

17. field_interaction

Event Name: field_interaction
Fires: On focus, blur, or change
Frequency: Multiple per field

Description: Granular field-level event tracking.

Parameters:

ParameterTypeDescriptionExample
form_idstringForm identifier'lead-form'
field_idstringField identifier'email'
field_typestringInput type'email'
interaction_typestringEvent type'focus', 'blur', 'change'
session_idstringSession identifier'sess_abc123'

Video Events

18. video_start

Event Name: video_start
Fires: When video begins playing
Frequency: Once per video per page

Description: Tracks video engagement across multiple platforms.

Supported Platforms:

  • HTML5 (<video> tags)
  • YouTube (iframe embeds)
  • Vimeo (Player API)
  • Wistia (embed codes)

Parameters:

ParameterTypeDescriptionExample
video_titlestringVideo title'Product Demo'
video_urlstringVideo source'https://youtube.com/watch?v=xxx'
video_providerstringPlatform'youtube', 'vimeo', 'html5'
video_durationnumberLength in seconds180
video_idstringVideo identifier'demo-2024'
session_idstringSession identifier'sess_abc123'

HTML5 Markup:

<video 
  data-adt-video-title="Product Demo" 
  data-adt-video-id="demo-2024"
  controls>
  <source src="demo.mp4" type="video/mp4">
</video>

19. video_progress

Event Name: video_progress
Fires: At viewing milestones
Frequency: Up to 6 times per video

Description: Tracks how much of each video users actually watch.

Milestones:

  • 0% (start)
  • 25%
  • 50%
  • 75%
  • 90%
  • 100% (completion)

Parameters:

ParameterTypeDescriptionExample
video_titlestringVideo title'Product Demo'
video_percentnumberProgress milestone75
video_current_timenumberPlayback position (sec)135
video_durationnumberTotal length (sec)180
video_providerstringPlatform'youtube'
session_idstringSession identifier'sess_abc123'

20. video_complete

Event Name: video_complete
Fires: When video reaches 100%
Frequency: Once per video per page

Description: Indicates user watched entire video. Same parameters as video_progress with video_percent: 100.

21. video_pause

Event Name: video_pause
Fires: When user pauses video
Frequency: Multiple times per video

Description: Tracks pause behavior to understand drop-off points or moment of high interest.

Parameters:

ParameterTypeDescriptionExample
video_titlestringVideo title'Product Demo'
video_current_timenumberWhen paused (sec)67
video_percentnumberPercent watched37
session_idstringSession identifier'sess_abc123'

Ecommerce Events

Premium Feature – WooCommerce

All ecommerce events follow GA4 standard ecommerce schema.

22. view_item

Event Name: view_item
Fires: On product page load
Frequency: Once per product view

Description: Tracks product page views.

Parameters:

{
  event: 'view_item',
  ecommerce: {
    currency: 'USD',
    value: 49.99,
    items: [{
      item_id: 'SKU-12345',
      item_name: 'Wireless Mouse',
      item_brand: 'TechBrand',
      item_category: 'Electronics',
      item_category2: 'Accessories',
      item_variant: 'Black',
      price: 49.99,
      quantity: 1
    }]
  }
}

23. view_cart

Event Name: view_cart
Fires: On cart page load
Frequency: Once per cart view

Description: Tracks when users view their shopping cart.

Parameters:

{
  event: 'view_cart',
  ecommerce: {
    currency: 'USD',
    value: 149.97,
    items: [
      { item_id: 'SKU-001', item_name: 'Mouse', price: 49.99, quantity: 1 },
      { item_id: 'SKU-002', item_name: 'Keyboard', price: 99.98, quantity: 2 }
    ]
  }
}

24. add_to_cart

Event Name: add_to_cart
Fires: When item added to cart
Frequency: Once per add action

Description: Critical conversion funnel event.

Parameters:

{
  event: 'add_to_cart',
  ecommerce: {
    currency: 'USD',
    value: 49.99,
    items: [{
      item_id: 'SKU-12345',
      item_name: 'Wireless Mouse',
      price: 49.99,
      quantity: 1
    }]
  }
}

25. remove_from_cart

Event Name: remove_from_cart
Fires: When item removed from cart
Frequency: Once per remove action

Description: Indicates product friction or price sensitivity.

Parameters: Same structure as add_to_cart

26. begin_checkout

Event Name: begin_checkout
Fires: On checkout page load
Frequency: Once per checkout initiation

Description: User has committed to purchasing.

Parameters:

{
  event: 'begin_checkout',
  ecommerce: {
    currency: 'USD',
    value: 149.97,
    items: [/* cart items */]
  }
}

27. checkout_progress

Event Name: checkout_progress
Fires: At each checkout step
Frequency: Multiple per checkout

Description: Tracks progress through multi-step checkout.

Checkout Steps:

  1. Cart Review
  2. Shipping Information
  3. Payment Information
  4. Order Review

Parameters:

{
  event: 'checkout_progress',
  ecommerce: {
    checkout_step: 2,
    checkout_option: 'shipping_method',
    value: 149.97,
    items: [/* cart items */]
  }
}

28. purchase

Event Name: purchase
Fires: On thank you page
Frequency: Once per completed transaction

Description: The ultimate ecommerce conversion event.

Parameters:

{
  event: 'purchase',
  ecommerce: {
    transaction_id: 'ORDER-12345',
    affiliation: 'Online Store',
    value: 164.96,
    tax: 14.99,
    shipping: 0.00,
    currency: 'USD',
    coupon: 'SAVE15',
    items: [{
      item_id: 'SKU-12345',
      item_name: 'Wireless Mouse',
      price: 49.99,
      quantity: 1,
      item_brand: 'TechBrand',
      item_category: 'Electronics'
    }]
  }
}

Session Summary Events

Premium Feature

These events fire once per session on exit (tab close, navigation away, or timeout) and aggregate data from all pages in the session.

Key Feature: Cross-page persistence – summaries fire even if the final page doesn’t have tracking enabled for that specific feature.

29. session_engagement_summary

Event Name: session_engagement_summary
Fires: On session exit
Frequency: Once per session

Description: Comprehensive engagement metrics rolled up across all pages.

Parameters:

ParameterTypeDescriptionExample
session_idstringSession identifier'sess_abc123'
total_active_timenumberActive seconds267
total_time_on_sitenumberElapsed seconds412
engagement_ratenumberActive/elapsed ratio0.65
page_viewsnumberPages viewed7
max_scroll_depthnumberDeepest scroll85
pages_scrolled_75numberPages scrolled 75%+4
page_quality_scorenumberEngagement quality (0-100)73
scroll_back_upsnumberRe-read events3
hover_intentsnumberCTA hovers5

Quality Score Formula:

quality_score = (
  (active_time_weight * normalized_active_time) +
  (scroll_weight * normalized_scroll) +
  (page_views_weight * normalized_pages) +
  (intent_signals_weight * intent_score)
) * 100

Use Cases:

  • Audience segmentation by quality
  • Lead scoring
  • Campaign performance
  • Bot detection (low quality scores)

30. session_content_summary

Event Name: session_content_summary
Fires: On session exit
Frequency: Once per session

Description: Aggregates content intelligence data across pages.

Parameters:

ParameterTypeDescriptionExample
session_idstringSession identifier'sess_abc123'
content_types_viewedstringComma-separated list'homepage,product,pricing'
primary_content_typestringMost viewed type'product_page'
sections_engagednumberUnique sections12
top_sectionstringMost engaged section'pricing-enterprise'
total_section_timenumberSection dwell time87

31. session_attribution_summary

Event Name: session_attribution_summary
Fires: On session exit
Frequency: Once per session

Description: Multi-touch attribution data for the session.

Parameters:

ParameterTypeDescriptionExample
session_idstringSession identifier'sess_abc123'
first_touch_sourcestringInitial source'google'
first_touch_mediumstringInitial medium'cpc'
first_touch_campaignstringInitial campaign'spring-sale'
last_touch_sourcestringMost recent source'email'
last_touch_mediumstringMost recent medium'newsletter'
last_touch_campaignstringMost recent campaign'product-update'
touch_pointsnumberAttribution events3
utm_parametersobjectAll captured UTMs{...}

32. session_page_summary

Event Name: session_page_summary
Fires: On session exit
Frequency: Once per session

Description: Context about the final page viewed.

Parameters:

ParameterTypeDescriptionExample
session_idstringSession identifier'sess_abc123'
final_page_typestringLast page type'pricing_page'
final_page_titlestringLast page title'Pricing Plans'
final_page_urlstringLast URL'/pricing'
exit_active_timenumberActive time on last page45

33. session_video_summary

Event Name: session_video_summary
Fires: On session exit
Frequency: Once per session

Description: Aggregated video engagement metrics.

Parameters:

ParameterTypeDescriptionExample
session_idstringSession identifier'sess_abc123'
videos_startednumberVideos played3
videos_completednumberVideos watched 100%1
video_completion_ratenumberCompletion ratio0.33
total_video_timenumberSeconds watched234
video_engagement_scorenumberQuality score (0-100)67
most_watched_videostringTop video'Product Demo'

Video Engagement Score Formula:

  • Starts: +10 points per video
  • 50% completion: +20 points
  • 100% completion: +40 points
  • Multiple videos: +15 bonus
  • Max: 100 points

34. session_commerce_summary

Event Name: session_commerce_summary
Fires: On session exit (WooCommerce sites)
Frequency: Once per session

Description: Ecommerce behavior summary for the session.

Parameters:

ParameterTypeDescriptionExample
session_idstringSession identifier'sess_abc123'
products_viewednumberProduct pages visited7
cart_addsnumberItems added to cart2
cart_removesnumberItems removed1
checkout_initiatedbooleanStarted checkouttrue
purchase_completedbooleanCompleted purchasefalse
session_revenuenumberRevenue if purchased0

Attribution Events

Premium Feature

35. utm_captured

Event Name: utm_captured
Fires: When UTM parameters detected
Frequency: Once per landing with UTMs

Description: Captures marketing attribution parameters on landing.

Parameters:

ParameterTypeDescriptionExample
utm_sourcestringTraffic source'google'
utm_mediumstringMarketing medium'cpc'
utm_campaignstringCampaign name'spring-sale-2024'
utm_termstringKeyword'wireless mouse'
utm_contentstringAd variant'ad-variant-a'
session_idstringSession identifier'sess_abc123'

Storage: UTMs are stored in cookies for 30 days for return visitor attribution.

36. utm_restored

Event Name: utm_restored
Fires: When stored UTMs retrieved
Frequency: Once per return visit

Description: Restores original attribution data for returning visitors.

Parameters: Same as utm_captured plus:

ParameterTypeDescriptionExample
days_since_capturenumberDays since first visit7
return_visit_numbernumberReturn visit count3

37. attribution_ping

Event Name: attribution_ping
Fires: Periodically during session
Frequency: Every 2 minutes

Description: Maintains attribution context throughout session.

Parameters:

ParameterTypeDescriptionExample
attribution_activebooleanAttribution trackedtrue
utm_sourcestringCurrent source'google'
session_idstringSession identifier'sess_abc123'

Consent Events

38. consent_loaded

Event Name: consent_loaded
Fires: When CMP finishes loading
Frequency: Once per page

Description: Indicates consent management platform is ready.

Parameters:

ParameterTypeDescriptionExample
cmp_detectedbooleanCMP foundtrue
cmp_vendorstringCMP name'cookieyes', 'complianz'
session_idstringSession identifier'sess_abc123'

39. consent_granted

Event Name: consent_granted
Fires: When user grants consent
Frequency: Once per consent action

Description: User has given consent for analytics tracking.

Parameters:

ParameterTypeDescriptionExample
consent_typesarrayGranted categories['analytics', 'marketing']
session_idstringSession identifier'sess_abc123'

40. consent_revoked

Event Name: consent_revoked
Fires: When user revokes consent
Frequency: Once per revoke action

Description: User has withdrawn consent.

Parameters:

ParameterTypeDescriptionExample
consent_typesarrayRevoked categories['analytics']
session_idstringSession identifier'sess_abc123'

41. consent_change

Event Name: consent_change
Fires: When consent state changes
Frequency: Multiple per session

Description: Generic consent change event.

Parameters:

ParameterTypeDescriptionExample
previous_statestringBefore change'denied'
new_statestringAfter change'granted'
consent_categorystringCategory changed'analytics'
session_idstringSession identifier'sess_abc123'

Click Events

42. click

Event Name: click
Fires: On link/button clicks
Frequency: Multiple per page

Description: Generic click tracking with context.

Parameters:

ParameterTypeDescriptionExample
link_textstringClicked element text'Learn More'
link_urlstringDestination URL'/products'
link_domainstringLink domain'example.com'
link_typestringLink classification'internal', 'outbound', 'download'
element_idstringElement ID'nav-products'
element_classesstringCSS classes'btn btn-primary'
session_idstringSession identifier'sess_abc123'

Event Firing Patterns

Immediate Events

Fire instantly on trigger:

  • page_view
  • form_start
  • form_submit
  • video_start
  • All ecommerce events
  • click

Milestone Events

Fire at specific thresholds:

  • scroll_depth (25%, 50%, 75%, 100%)
  • video_progress (0%, 25%, 50%, 75%, 90%, 100%)
  • session_engagement_milestone

Periodic Events

Fire on regular intervals:

  • active_time (every 30 seconds)
  • time_on_page (every 30 seconds)
  • attribution_ping (every 2 minutes)

Exit Events

Fire on session end:

  • All session_*_summary events
  • last_engaged_section
  • last_content_type_viewed

Two-Push Pattern

Important: ADT uses a “two-push” pattern for all events to ensure visibility in GTM Preview mode.

How It Works:

// Push 1: Parameters
window.dataLayer.push({
  video_title: 'Product Demo',
  video_provider: 'youtube',
  video_duration: 180
});

// Push 2: Event trigger
window.dataLayer.push({
  event: 'video_start'
});

This ensures GTM Preview can see all parameter values when the event fires.

Custom Event Tracking

Want to fire your own events? Use this pattern:

// From your theme or plugin
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
  event: 'custom_event_name',
  custom_param1: 'value1',
  custom_param2: 'value2',
  session_id: window.ADTSession?.id() || null
});

Best Practices:

  • Use snake_case for event names
  • Include session_id when available
  • Add descriptive parameters
  • Document your custom events
  • Avoid conflicting with ADT event names

Troubleshooting

Events Not Firing?

Check:

  1. Plugin activated?
  2. Feature enabled in settings?
  3. Consent granted (if using CMP)?
  4. Browser console errors?
  5. GTM container published?

Debug Commands:

// Check if ADT loaded
console.log('ADT Loaded:', window.ADTData);

// Check session manager
console.log('Session:', window.ADTSession?.id());

// Check dataLayer
console.log('DataLayer:', window.dataLayer);

// View all events
window.dataLayer.filter(e => e.event);

GTM Preview Not Showing Events?

  1. Clear browser cache
  2. Use incognito/private window
  3. Verify GTM container ID matches
  4. Check if events are blocked by consent
  5. Enable debug mode in ADT settings

Support

Plugin Settings: /wp-admin/admin.php?page=adt-settings
GTM Export: /wp-admin/admin.php?page=adt-settings&tab=gtm_export
Debug Overlay: Enable in Settings (Premium)

For additional help, consult the plugin documentation or contact support.

Version: 1.0
Last Updated: 2025
Total Events: 42+

Was this article helpful?