Skip to main content

GA4 Conversions & Funnels

Track meaningful user actions and analyze the journey from discovery to documentation success.

๐ŸŽฏ What Are Conversions?โ€‹

Conversions are important user actions that indicate documentation success. For our documentation site, conversions include:

  • โœ… Reading a complete guide (100% scroll)
  • โœ… Copying code examples
  • โœ… Downloading resources
  • โœ… Finding answers (FAQ interactions)
  • โœ… Successful self-service (no support contact needed)
  • โœ… Video completion
  • โœ… Multiple guide visits (cross-role learning)

๐Ÿ“Š Pre-Configured Conversion Eventsโ€‹

These events are automatically tracked and ready to mark as conversions:

1. Guide Completionโ€‹

Event: scroll_depth with label 100% on /guides/* pages

What it means: User read entire guide
Goal: 60%+ completion rate
Action if low: Shorten content, improve formatting

2. Code Copy Successโ€‹

Event: code_copy

What it means: User found useful code example
Goal: 30%+ of guide visitors copy code
Action if low: Add more examples, improve code quality

3. Resource Downloadโ€‹

Event: file_download

What it means: User downloaded documentation/asset
Goal: 15%+ download rate on resource pages
Action if low: Make downloads more visible

4. Video Completionโ€‹

Event: video_complete

What it means: User watched entire video
Goal: 50%+ completion rate
Action if low: Shorten videos, improve quality

5. Self-Service Successโ€‹

Event: Custom event self_service_success

What it means: User spent more than 2min, scrolled more than 75%, no support contact
Goal: 80%+ self-service rate
Action if low: Improve content clarity

6. FAQ Resolutionโ€‹

Event: faq_expand

What it means: User found answer in FAQ
Goal: 3+ FAQ views per support page visit
Action if low: Expand FAQ coverage


โš™๏ธ Setting Up Conversions in GA4โ€‹

Step 1: Access Events Configurationโ€‹

  1. Go to Google Analytics
  2. Select property: G-9DY20V8FQD
  3. Click Admin (bottom left)
  4. Under Data display, click Events

Step 2: Mark Existing Events as Conversionsโ€‹

For each event you want to track as a conversion:

  1. Find the event in the list (e.g., code_copy)
  2. Toggle Mark as conversion to ON
  3. The event now appears in conversion reports

Recommended conversions to enable:

  • โœ… code_copy
  • โœ… file_download
  • โœ… video_complete
  • โœ… contact_support (negative indicator)
  • โœ… guide_view (awareness metric)

Step 3: Create Custom Conversion Eventsโ€‹

For more complex conversions, create custom events:

Example: Guide Completion Conversionโ€‹

  1. Admin โ†’ Events โ†’ Create event
  2. Event name: guide_complete
  3. Matching conditions:
    • Parameter: event_name equals scroll_depth
    • AND Parameter: event_label equals 100%
    • AND Parameter: page_path contains /guides/
  4. Click Create
  5. Toggle Mark as conversion

Example: Engaged Documentation Userโ€‹

  1. Event name: engaged_user
  2. Matching conditions:
    • Parameter: event_name equals time_on_page
    • AND Parameter: value greater than 60
    • AND Parameter: event_label equals 120_seconds
  3. Mark as conversion โœ…

Example: Multi-Guide Learnerโ€‹

  1. Event name: multi_guide_user
  2. Matching conditions:
    • Parameter: event_name equals guide_view
    • AND Parameter: event_count greater than 2
  3. Mark as conversion โœ…

๐Ÿ”„ Conversion Funnelsโ€‹

Funnels help you understand the user journey and identify drop-off points.

Funnel 1: New User Onboardingโ€‹

Goal: Guide new users to documentation success

Steps:

  1. Landing โ†’ Land on any page
  2. Discover โ†’ View getting-started or quick-start
  3. Engage โ†’ Scroll more than 50%
  4. Action โ†’ code_copy OR file_download
  5. Success โ†’ Return visit within 7 days

Setup in GA4:

  1. Explore โ†’ Funnel exploration
  2. Name: "New User Onboarding"
  3. Add steps:
    • Step 1: session_start
    • Step 2: page_view (path contains /intro/)
    • Step 3: scroll_depth (value โ‰ฅ 50)
    • Step 4: code_copy OR file_download
    • Step 5: Custom (returning user event)

Key metrics:

  • Overall completion rate
  • Drop-off at each step
  • Time between steps
  • Conversion by traffic source

Funnel 2: Guide Learning Journeyโ€‹

Goal: Track user progression through role-specific guides

Steps:

  1. Entry โ†’ Land on guide page
  2. Start Reading โ†’ Scroll to 25%
  3. Engaged โ†’ Reach 50% scroll
  4. Deep Dive โ†’ Reach 75% scroll
  5. Complete โ†’ Reach 100% scroll

Setup:

  1. Explore โ†’ Funnel exploration
  2. Name: "Guide Reading Funnel"
  3. Filter: Page path contains /guides/
  4. Add steps:
    • Step 1: page_view
    • Step 2: scroll_depth (label = 25%)
    • Step 3: scroll_depth (label = 50%)
    • Step 4: scroll_depth (label = 75%)
    • Step 5: scroll_depth (label = 100%)

Insights:

  • Where users lose interest
  • Average completion time
  • Completion rate by guide type
  • Device impact on completion

Funnel 3: Problem Resolution Flowโ€‹

Goal: Measure self-service effectiveness

Steps:

  1. Problem โ†’ View troubleshooting/FAQ
  2. Search โ†’ Open search OR expand FAQ
  3. Explore โ†’ View 2+ related pages
  4. Resolution โ†’ Engage more than 2min, no support contact
  5. Validation โ†’ Return within 7 days (successful solution)

Setup:

  1. Explore โ†’ Funnel exploration
  2. Name: "Self-Service Resolution"
  3. Add steps:
    • Step 1: page_view (path contains /support/)
    • Step 2: search_open OR faq_expand
    • Step 3: page_view (event_count โ‰ฅ 2)
    • Step 4: time_on_page (value โ‰ฅ 120)
    • Step 5: Custom returning user event
  4. Exclusion: contact_support event

Funnel 4: Code Implementation Journeyโ€‹

Goal: Track users from learning to implementation

Steps:

  1. Learn โ†’ View guide with code examples
  2. Review โ†’ Scroll to code section (more than 50%)
  3. Copy โ†’ Copy code snippet
  4. Research โ†’ View related reference docs
  5. Return โ†’ Come back for more (successful implementation)

Setup:

  1. Name: "Code Implementation Flow"
  2. Steps:
    • Step 1: page_view (guides or reference)
    • Step 2: scroll_depth (โ‰ฅ 50%)
    • Step 3: code_copy
    • Step 4: page_view (path contains /reference/)
    • Step 5: Return visit within 3 days

Funnel 5: Video Learning Pathโ€‹

Goal: Understand video engagement and learning outcomes

Steps:

  1. Discover โ†’ Land on page with video
  2. Start โ†’ Play video
  3. Engage โ†’ Watch more than 50%
  4. Complete โ†’ Watch to end
  5. Apply โ†’ Visit related guide/reference

Setup:

  1. Name: "Video Learning Funnel"
  2. Steps:
    • Step 1: page_view (has video)
    • Step 2: video_start
    • Step 3: video_pause (value โ‰ฅ 50)
    • Step 4: video_complete
    • Step 5: page_view (related content)

๐Ÿ“ˆ Conversion Goals & Targetsโ€‹

Overall Documentation Goalsโ€‹

MetricCurrentTargetExcellent
Guide completion rate-60%75%
Code copy rate-30%45%
Self-service rate-80%90%
Video completion-50%70%
Return visit rate-40%60%
Avg engagement time-2:004:00
Scroll depth (75%+)-50%70%

Guide-Specific Goalsโ€‹

Guide TypeCompletionEngagement TimeReturn Rate
Quick Start80%1:3030%
Teacher Guide70%5:0060%
Parent Guide75%3:0050%
Student Guide70%2:3040%
Admin Guide65%8:0070%
Reference Docs40%1:0080%

๐ŸŽ“ Analyzing Conversion Dataโ€‹

Daily Checks (5 minutes)โ€‹

  1. Admin โ†’ Reports โ†’ Realtime
  2. Check: Active conversions happening now
  3. Verify: Events firing correctly
  4. Alert: Any sudden drops or spikes

Weekly Reviews (30 minutes)โ€‹

  1. Reports โ†’ Conversions
  2. Compare: Week-over-week changes
  3. Identify: Top converting pages
  4. Note: Anomalies or trends

Monthly Deep Dives (2 hours)โ€‹

  1. Explore โ†’ Custom funnel analysis
  2. Review: Each funnel completion rate
  3. Identify: Drop-off points
  4. Plan: Content improvements
  5. Test: Hypothesis with changes
  6. Measure: Impact on conversions

๐Ÿ” Advanced Conversion Trackingโ€‹

Event Parameter Conversionsโ€‹

Track conversions based on specific parameters:

High-Value Guide Viewsโ€‹

// Already tracked automatically
// Users viewing admin or teacher guides
gtag('event', 'guide_view', {
'guide_type': 'school-admin', // or 'teachers'
'page_path': '/guides/school-admin'
});

Mark as conversion: guide_view where guide_type = 'school-admin'

Complete Code Implementationโ€‹

// Track when user copies code AND views results
gtag('event', 'code_implemented', {
'implementation_type': 'complete',
'code_section': 'authentication'
});

Documentation Referral Successโ€‹

// Track when doc link leads to signup/action
gtag('event', 'doc_referral_conversion', {
'referral_type': 'register_school',
'source_page': document.referrer
});

๐Ÿ“Š Conversion Attributionโ€‹

Understanding Traffic Sourcesโ€‹

Path: Reports โ†’ Acquisition โ†’ Traffic acquisition

Compare conversions by:

  • ๐Ÿ” Organic Search
  • ๐Ÿ”— Direct
  • ๐Ÿ“ง Email
  • ๐ŸŒ Social Media
  • ๐Ÿ“ฑ Referral

Insights:

  • Which channels bring engaged users?
  • Which need better landing pages?
  • Where to invest marketing effort?

Content Attributionโ€‹

Which pages drive conversions?

  1. Explore โ†’ Free form
  2. Dimension: Landing page
  3. Metrics: Conversions, Conversion rate
  4. Secondary dimension: Traffic source

Optimize:

  • โฌ†๏ธ Promote high-converting pages
  • ๐Ÿ”ง Fix low-converting pages
  • ๐Ÿ“ Replicate success patterns

๐ŸŽฏ Optimization Strategiesโ€‹

If Guide Completion is Low (Less than 60%)โ€‹

Diagnose:

  • Check scroll depth drop-off point
  • Review time on page
  • Analyze exit rates

Actions:

  1. Add table of contents
  2. Break into smaller sections
  3. Add visual elements
  4. Improve formatting
  5. Remove unnecessary content

If Code Copy Rate is Low (Less than 30%)โ€‹

Diagnose:

  • Are examples visible?
  • Is code highlighted correctly?
  • Are examples relevant?

Actions:

  1. Add more code examples
  2. Improve code formatting
  3. Add copy buttons (already implemented)
  4. Provide working examples
  5. Explain code context better

If Self-Service Rate is Low (Less than 80%)โ€‹

Diagnose:

  • High support contact rate
  • Many search queries
  • Short engagement time

Actions:

  1. Expand FAQ coverage
  2. Add more examples
  3. Improve search functionality
  4. Create video tutorials
  5. Add interactive diagrams

๐Ÿš€ Advanced Featuresโ€‹

Predictive Metrics (GA4 ML)โ€‹

GA4 can predict:

  • Purchase probability (adapt for "documentation success")
  • Churn probability (users likely to not return)
  • Revenue prediction (adapt for "engagement score")

Enable in: Admin โ†’ Data Settings โ†’ Predictive metrics

Enhanced Measurementโ€‹

Already enabled:

  • Page views โœ…
  • Scrolls โœ…
  • Outbound clicks โœ…
  • Site search โœ…
  • Video engagement โœ…
  • File downloads โœ…

Optional additions:

  • Form interactions
  • Element visibility
  • Custom user properties

๐Ÿ“ฑ Conversion Tracking Best Practicesโ€‹

  1. Start Simple: Focus on 3-5 key conversions
  2. Test Thoroughly: Verify events before marking as conversions
  3. Review Regularly: Monthly conversion performance reviews
  4. Document Changes: Log when you modify tracking
  5. Compare Periods: Always benchmark against previous periods
  6. Segment Users: Analyze by user type, device, source
  7. Set Alerts: Get notified of conversion anomalies
  8. A/B Test: Test improvements and measure impact

๐Ÿ“š Resourcesโ€‹

Internal:

  • Analytics Setup: /reference/analytics-setup
  • Dashboard Guide: /reference/ga4-dashboard-guide
  • Verification: scripts/verify-ga4.js

โœ… Quick Setup Checklistโ€‹

  • Mark code_copy as conversion
  • Mark file_download as conversion
  • Mark video_complete as conversion
  • Create guide_complete custom event
  • Mark guide_complete as conversion
  • Set up "New User Onboarding" funnel
  • Set up "Guide Reading" funnel
  • Set up "Self-Service Resolution" funnel
  • Create weekly conversion report
  • Set conversion goal targets
  • Enable conversion alerts
  • Document tracking in team wiki

Time to complete: ~1 hour
Impact: High - Understand documentation effectiveness