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โ
- Go to Google Analytics
- Select property:
G-9DY20V8FQD - Click Admin (bottom left)
- Under Data display, click Events
Step 2: Mark Existing Events as Conversionsโ
For each event you want to track as a conversion:
- Find the event in the list (e.g.,
code_copy) - Toggle Mark as conversion to ON
- 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โ
- Admin โ Events โ Create event
- Event name:
guide_complete - Matching conditions:
- Parameter:
event_nameequalsscroll_depth - AND Parameter:
event_labelequals100% - AND Parameter:
page_pathcontains/guides/
- Parameter:
- Click Create
- Toggle Mark as conversion
Example: Engaged Documentation Userโ
- Event name:
engaged_user - Matching conditions:
- Parameter:
event_nameequalstime_on_page - AND Parameter:
valuegreater than60 - AND Parameter:
event_labelequals120_seconds
- Parameter:
- Mark as conversion โ
Example: Multi-Guide Learnerโ
- Event name:
multi_guide_user - Matching conditions:
- Parameter:
event_nameequalsguide_view - AND Parameter:
event_countgreater than2
- Parameter:
- 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:
- Landing โ Land on any page
- Discover โ View getting-started or quick-start
- Engage โ Scroll more than 50%
- Action โ code_copy OR file_download
- Success โ Return visit within 7 days
Setup in GA4:
- Explore โ Funnel exploration
- Name: "New User Onboarding"
- Add steps:
- Step 1:
session_start - Step 2:
page_view(path contains/intro/) - Step 3:
scroll_depth(value โฅ 50) - Step 4:
code_copyORfile_download - Step 5: Custom (returning user event)
- Step 1:
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:
- Entry โ Land on guide page
- Start Reading โ Scroll to 25%
- Engaged โ Reach 50% scroll
- Deep Dive โ Reach 75% scroll
- Complete โ Reach 100% scroll
Setup:
- Explore โ Funnel exploration
- Name: "Guide Reading Funnel"
- Filter: Page path contains
/guides/ - 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%)
- Step 1:
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:
- Problem โ View troubleshooting/FAQ
- Search โ Open search OR expand FAQ
- Explore โ View 2+ related pages
- Resolution โ Engage more than 2min, no support contact
- Validation โ Return within 7 days (successful solution)
Setup:
- Explore โ Funnel exploration
- Name: "Self-Service Resolution"
- Add steps:
- Step 1:
page_view(path contains/support/) - Step 2:
search_openORfaq_expand - Step 3:
page_view(event_count โฅ 2) - Step 4:
time_on_page(value โฅ 120) - Step 5: Custom returning user event
- Step 1:
- Exclusion:
contact_supportevent
Funnel 4: Code Implementation Journeyโ
Goal: Track users from learning to implementation
Steps:
- Learn โ View guide with code examples
- Review โ Scroll to code section (more than 50%)
- Copy โ Copy code snippet
- Research โ View related reference docs
- Return โ Come back for more (successful implementation)
Setup:
- Name: "Code Implementation Flow"
- 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
- Step 1:
Funnel 5: Video Learning Pathโ
Goal: Understand video engagement and learning outcomes
Steps:
- Discover โ Land on page with video
- Start โ Play video
- Engage โ Watch more than 50%
- Complete โ Watch to end
- Apply โ Visit related guide/reference
Setup:
- Name: "Video Learning Funnel"
- 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)
- Step 1:
๐ Conversion Goals & Targetsโ
Overall Documentation Goalsโ
| Metric | Current | Target | Excellent |
|---|---|---|---|
| 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:00 | 4:00 |
| Scroll depth (75%+) | - | 50% | 70% |
Guide-Specific Goalsโ
| Guide Type | Completion | Engagement Time | Return Rate |
|---|---|---|---|
| Quick Start | 80% | 1:30 | 30% |
| Teacher Guide | 70% | 5:00 | 60% |
| Parent Guide | 75% | 3:00 | 50% |
| Student Guide | 70% | 2:30 | 40% |
| Admin Guide | 65% | 8:00 | 70% |
| Reference Docs | 40% | 1:00 | 80% |
๐ Analyzing Conversion Dataโ
Daily Checks (5 minutes)โ
- Admin โ Reports โ Realtime
- Check: Active conversions happening now
- Verify: Events firing correctly
- Alert: Any sudden drops or spikes
Weekly Reviews (30 minutes)โ
- Reports โ Conversions
- Compare: Week-over-week changes
- Identify: Top converting pages
- Note: Anomalies or trends
Monthly Deep Dives (2 hours)โ
- Explore โ Custom funnel analysis
- Review: Each funnel completion rate
- Identify: Drop-off points
- Plan: Content improvements
- Test: Hypothesis with changes
- 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?
- Explore โ Free form
- Dimension: Landing page
- Metrics: Conversions, Conversion rate
- 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:
- Add table of contents
- Break into smaller sections
- Add visual elements
- Improve formatting
- Remove unnecessary content
If Code Copy Rate is Low (Less than 30%)โ
Diagnose:
- Are examples visible?
- Is code highlighted correctly?
- Are examples relevant?
Actions:
- Add more code examples
- Improve code formatting
- Add copy buttons (already implemented)
- Provide working examples
- 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:
- Expand FAQ coverage
- Add more examples
- Improve search functionality
- Create video tutorials
- 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โ
- Start Simple: Focus on 3-5 key conversions
- Test Thoroughly: Verify events before marking as conversions
- Review Regularly: Monthly conversion performance reviews
- Document Changes: Log when you modify tracking
- Compare Periods: Always benchmark against previous periods
- Segment Users: Analyze by user type, device, source
- Set Alerts: Get notified of conversion anomalies
- 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_copyas conversion - Mark
file_downloadas conversion - Mark
video_completeas conversion - Create
guide_completecustom event - Mark
guide_completeas 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