๐ŸŽฏ Funnel Analytics - Complete Guide

Learn how to track user journeys and optimize conversion with Tokebi's advanced funnel analytics.

Transform your game analytics from basic event counting to actionable user journey intelligence.

๐ŸŽฏ What is Funnel Analytics?

Funnel analytics tracks how users progress through a sequence of steps in your game. Instead of seeing isolated events, you understand the complete user journey and identify exactly where players drop off.

Example Game Onboarding Funnel:

1. player_joined      โ†’ 1,000 users (Entry Point)
2. tutorial_started   โ†’ 800 users   (80% conversion)  
3. tutorial_completed โ†’ 600 users   (75% conversion)
4. first_purchase     โ†’ 120 users   (20% conversion) โ† Major drop-off!

๐Ÿš€ Why Choose Tokebi Funnels?

vs. Platform-Native Analytics (Roblox, etc.)

FeatureTokebiPlatform Analytics
Platform Supportโœ… Any game engine (Unity, Unreal, Web, Mobile)โŒ Platform-locked only
Data Freshnessโœ… 30-minute real-timeโŒ 24-hour delay
Funnel Limitsโœ… Unlimited funnels, 100 steps eachโŒ 10 funnels maximum
Configurationโœ… Dynamic frontend configโŒ Hardcoded in game
Historical Dataโœ… Reuse 6+ months of eventsโŒ Lost on funnel changes

Key Advantages

  • ๐ŸŽ›๏ธ Dynamic Configuration: Change funnels instantly without code updates
  • ๐Ÿ“Š Real Sequential Tracking: True user journey progression, not independent events
  • โฑ๏ธ Real-Time Insights: See conversion changes within 30 minutes
  • ๐Ÿ”„ Historical Reuse: Test new funnel ideas on months of existing data
  • ๐ŸŽฎ Cross-Platform: One analytics system for all your games

๐Ÿ’ก The Game-Changing Difference

Roblox: "Want to test a different funnel? Code it, deploy it, wait, start over with new data."
Tokebi: "Want to test a different funnel? Drag & drop in dashboard, instantly see how it would have performed over the past 6 months."

๐Ÿ“‹ Quick Start Guide

โš™๏ธ Tokebi API Structure

All event tracking uses this required structure:

tokebi.track(eventName, payload, userId)

eventName

String identifying the event (used for funnel matching)

payload

Valid JSON object with context data (used for other analytics)

โœ… Empty payloads accepted: If you pass an empty object {} or array [], Tokebi will automatically enrich it with player_id for analytics.

userId

Player/user identifier

๐Ÿ“‹ Recommended Payload Structure

Use this simple, consistent payload structure for all events:

{
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "tutorial",
  "level": 1,
  "timestamp": "2025-07-15T10:30:00Z"
}

Required Fields:

  • โ€ข session_id: Unique session identifier
  • โ€ข platform: "mobile", "desktop", "web"
  • โ€ข timestamp: ISO format timestamp

Optional Context:

  • โ€ข screen: Current game screen/area
  • โ€ข level: Player's current level
  • โ€ข game_mode: PvP, campaign, etc.

๐ŸŽฏ Funnel-Only Usage

If you're only using funnels and don't need detailed analytics, you can send empty payloads:

// Simple funnel tracking with empty payload
tokebi.track("player_joined", {}, player.UserId);
tokebi.track("tutorial_started", {}, player.UserId);
tokebi.track("tutorial_completed", {}, player.UserId);

// Tokebi automatically enriches with player_id for analytics

Empty payloads will be automatically enriched with player_id to ensure your analytics work properly.

Step 1: Track Events in Your Game

Use the Tokebi tracking API with proper payload structure:

// Unity, Unreal, Web - any platform
tokebi.track("player_joined", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "main_menu",
  "timestamp": "2025-07-15T10:30:00Z"
}, player.UserId);

tokebi.track("tutorial_started", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "tutorial",
  "level": 1,
  "timestamp": "2025-07-15T10:31:00Z"
}, player.UserId);

tokebi.track("tutorial_completed", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "tutorial",
  "level": 1,
  "timestamp": "2025-07-15T10:35:00Z"
}, player.UserId);

tokebi.track("first_purchase", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "shop",
  "level": 1,
  "timestamp": "2025-07-15T10:40:00Z"
}, player.UserId);

Important: Always include valid JSON payload. Funnels use event names for tracking, but payload data enables powerful segmentation and other analytics features.

Step 2: Create Your First Funnel

  1. 1. Navigate to Dashboard โ†’ Charts โ†’ Add Chart
  2. 2. Select "Funnel" as chart type
  3. 3. Configure your funnel steps:
    • โ€ข Step 1: player_joined
    • โ€ข Step 2: tutorial_started
    • โ€ข Step 3: tutorial_completed
    • โ€ข Step 4: first_purchase
  4. 4. Click "Save"

Step 3: Analyze Results

Your funnel chart shows:

  • โ€ข User counts at each step
  • โ€ข Conversion rates between steps
  • โ€ข Drop-off percentages
  • โ€ข Time analysis (how long between steps)
  • โ€ข Performance insights with AI recommendations

๐Ÿ”ง Advanced Configuration

๐Ÿš€ Manual Funnel Steps (Future Events)

Create funnels for events that don't exist yet! Perfect for planning analytics before development or testing new feature ideas.

โœจ The Problem This Solves

Classic Issue: "I want to create a funnel for our new onboarding flow, but the events don't exist yet because we haven't built the feature."

Tokebi Solution: Define your funnel steps manually using JSON, then your analytics are ready the moment you deploy!

๐Ÿ“‹ Simple JSON Format

{
  "1": "new_player_joined",
  "2": "completed_profile_setup", 
  "3": "finished_tutorial_v2",
  "4": "made_first_purchase"
}
Format Rules:
  • Keys must be numbers ("1", "2", "3")
  • Values must be event names (strings)
  • Events not found in data show 0 users

๐ŸŽฏ When to Use Manual Steps

๐Ÿ”ฎ Future Features
Set up analytics before building new game features or onboarding flows
๐Ÿงช A/B Testing
Create variant funnels for different test scenarios or feature experiments
๐Ÿ“‹ Planning
Document expected user journeys and validate them with historical data patterns
๐Ÿ’ก

Pro Tip: Hybrid Approach

Use manual steps for future events in your funnel, then switch to event selection as you implement each step. This lets you plan the full journey while building incrementally.

๐Ÿ“ฑ Platform-Specific Funnels

Track platform performance by creating platform-specific event names:

// Track separate events for each platform
tokebi.track("player_joined_mobile", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "main_menu",
  "timestamp": "2025-07-15T10:30:00Z"
}, player.UserId);

tokebi.track("player_joined_desktop", {
  "session_id": "session_67890",
  "platform": "desktop",
  "screen": "main_menu",
  "timestamp": "2025-07-15T10:30:00Z"
}, player.UserId);

tokebi.track("tutorial_started_mobile", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "tutorial",
  "level": 1,
  "timestamp": "2025-07-15T10:31:00Z"
}, player.UserId);

Then create separate funnels:

  • โ€ข Mobile Funnel: player_joined_mobile โ†’ tutorial_started_mobile โ†’ purchase_mobile
  • โ€ข Desktop Funnel: player_joined_desktop โ†’ tutorial_started_desktop โ†’ purchase_desktop

๐ŸŽฎ Game Mode Tracking

Track different game modes by including mode info in event names:

// Track events with game mode specificity
tokebi.track("level_completed_campaign", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "game",
  "level": 5,
  "game_mode": "campaign",
  "timestamp": "2025-07-15T10:45:00Z"
}, player.UserId);

tokebi.track("level_completed_pvp", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "game",
  "level": 5,
  "game_mode": "pvp",
  "timestamp": "2025-07-15T10:50:00Z"
}, player.UserId);

Create mode-specific funnels to compare:

  • โ€ข Campaign Funnel: player_joined โ†’ level_completed_campaign โ†’ purchase_campaign
  • โ€ข PvP Funnel: player_joined โ†’ level_completed_pvp โ†’ purchase_pvp

๐Ÿ“Š Understanding Your Funnel Data

๐Ÿ“ˆ Funnel Metrics Explained

Conversion Rate

Percentage of users who completed this step after completing the previous step

Step 2 Conversion = (Users who completed Step 2 / Users who completed Step 1) ร— 100

Drop-off Rate

Percentage of users who left at this step

Drop-off = 100% - Conversion Rate

Time to Step

Average time users take between funnel steps

Shows user behavior patterns and optimization opportunities

๐Ÿ” Reading Funnel Insights

The system automatically provides actionable insights:

๐Ÿ”ด "Focus on tutorial_completed - highest drop-off point"

This step needs immediate optimization attention

๐ŸŸข "first_purchase has best step conversion (85%)"

This step is performing well, learn from it

โฑ๏ธ "Users take avg 5m 30s from join to tutorial"

Timing insights help optimize pacing

๐Ÿ” Funnel Methodology

Tokebi funnels are designed to provide fast, high-signal insights with a pragmatic approach:

๐Ÿ“Š Data Processing

  • โ€ข Single Completion per User: Only the first valid completion is counted per user
  • โ€ข Sampled Dataset: Funnels are computed on a representative sample of users when datasets are large
  • โ€ข Capped Sequences: Each user's event sequence is limited to 1000 events for performance reasons

๐Ÿงน Event Deduplication

  • โ€ข Consecutive Deduplication: Repeated consecutive events are collapsed to reduce noise
  • โ€ข Example: Play โ†’ Play โ†’ Collect โ†’ Sell โ†’ Sell becomes Play โ†’ Collect โ†’ Sell
  • โ€ข Purpose: Focuses on meaningful user progression steps

โš™๏ธ Funnel Configuration

  • โ€ข Custom Funnel Definitions: Funnel steps are passed from the frontend in order (e.g., ["Play", "Collect", "Sell"])
  • โ€ข Pattern Matching: The backend scans each user's event sequence to detect the first valid match

โฑ๏ธ Duration Analysis

  • โ€ข Funnel Duration Displayed: When a funnel completion is found, we show how long it took the user to go from the first step to the last
  • โ€ข Purpose: Helps gauge flow efficiency
  • โ€ข Note: Funnels are not currently filtered by time thresholds

๐ŸŽฏ Why This Approach?

This methodology balances analytical depth with performance, ensuring you get actionable insights quickly:

  • โ€ข Performance: Sampling and capping ensure fast computation even with large datasets
  • โ€ข Signal vs. Noise: Deduplication focuses on meaningful user actions
  • โ€ข Clarity: Single completion per user provides clear, interpretable conversion rates
  • โ€ข Flexibility: Custom definitions allow for any funnel structure you need

๐ŸŽฎ Real-World Use Cases

1. Onboarding Optimization

Challenge: 60% of players quit during tutorial

Solution: Create funnel to identify exact tutorial step causing drop-off

Result: Found specific tutorial slide causing issues, improved by 25%

2. Platform Performance Analysis

Challenge: Unknown if mobile or desktop converts better

Solution: Separate mobile/desktop funnels with platform-tagged events

Result: Discovered mobile converts 40% better, shifted marketing focus

3. Game Mode Comparison

Challenge: Which game mode leads to more purchases?

Solution: Track events with game mode specificity, create separate funnels

Result: PvP mode converts 35% better than campaign mode

4. Session Quality Analysis

Challenge: Do longer sessions convert better?

Solution: Use session_id in payload to track session-based funnels

Result: Sessions >10 minutes have 3x higher conversion

๐Ÿ’ก Best Practices

Event Naming Strategy

โœ… Good: Descriptive, consistent naming for funnel tracking

tokebi.track("tutorial_step_1_completed", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "tutorial",
  "level": 1,
  "timestamp": "2025-07-15T10:30:00Z"
}, player.UserId);

tokebi.track("tutorial_step_2_completed", {
  "session_id": "session_12345",
  "platform": "mobile",
  "screen": "tutorial",
  "level": 1,
  "timestamp": "2025-07-15T10:32:00Z"
}, player.UserId);

โŒ Avoid: Generic naming

// BAD: Inconsistent naming
tokebi.track("tutorial_done", {}, player.UserId);
tokebi.track("finished_tut", {}, player.UserId);

// Note: Empty payloads are fine for funnel-only usage
// They will be automatically enriched with player_id

Payload Best Practices

๐ŸŽฏ Always Include Core Fields

  • โ€ข session_id: For session-based analysis
  • โ€ข platform: For platform comparison
  • โ€ข timestamp: For accurate timing

๐Ÿ“ฑ Keep It Simple

  • โ€ข Use consistent field names across events
  • โ€ข Avoid nested objects when possible
  • โ€ข Include only data you'll actually use

๐Ÿ”„ Think Beyond Funnels

  • โ€ข Payload data enables segmentation
  • โ€ข Include context for other analytics features
  • โ€ข Plan for future analysis needs

โœ… Empty Payload Option

For funnel-only tracking, empty payloads {} are perfectly acceptable. Tokebi automatically enriches them with player_id for analytics functionality.

Data Collection Strategy

// Consistent payload structure across all events
const basePayload = {
  "session_id": getCurrentSessionId(),
  "platform": getPlatform(), // "mobile", "desktop", "web"
  "timestamp": new Date().toISOString()
};

// Add context-specific data for each event
tokebi.track("purchase_completed", {
  ...basePayload,
  "screen": "shop",
  "level": playerLevel,
  "game_mode": currentGameMode
}, player.UserId);

tokebi.track("level_completed", {
  ...basePayload,
  "screen": "game",
  "level": completedLevel,
  "game_mode": currentGameMode,
  "completion_time": levelTime
}, player.UserId);

Event Naming Pattern for Funnels: [action]_[context]_[platform]

This allows you to create highly specific funnels for any combination of factors.

๐Ÿ” Troubleshooting

Common Issues

โ“ "My funnel shows 0 users"

  • โ€ข Check event names match exactly (case-sensitive)
  • โ€ข Verify date range includes your test events
  • โ€ข Ensure events exist in selected game/environment

โ“ "Understanding payload requirements"

  • โ€ข โœ… Empty payloads are OK: {} and [] are automatically enriched
  • โ€ข โŒ Non-empty arrays are malformed: ["data"] will be marked as malformed
  • โ€ข โŒ Strings/numbers are malformed: "payload", 123 will be marked as malformed

โ“ "Platform breakdowns not working"

  • โ€ข Use platform-specific event names (e.g., event_mobile, event_desktop)
  • โ€ข Create separate funnels for each platform
  • โ€ข Ensure consistent naming across all events

Performance Tips

๐Ÿš€ Optimize for Speed

  • โ€ข Funnel data refreshes every 30 minutes
  • โ€ข Historical analysis available instantly
  • โ€ข Use date ranges appropriate for your analysis needs

๐Ÿ“Š Data Quality

  • โ€ข Consistent event naming improves funnel accuracy
  • โ€ข Empty payloads {} are fine for funnel-only tracking
  • โ€ข Monitor funnel performance over time

๐ŸŽฏ Getting Started Today

Quick Setup Checklist

  1. 1. Add Event Tracking: Start with 3-5 key user actions using proper payload structure
  2. 2. Create Your First Funnel: Basic onboarding or purchase flow
  3. 3. Analyze Results: Identify biggest drop-off points
  4. 4. Iterate: Test different funnel configurations
  5. 5. Expand: Add platform-specific and mode-specific funnels

Need Help?

  • ๐Ÿ“š Documentation: Additional guides and tutorials
  • ๐Ÿ’ฌ Support: Contact our team for advanced configuration
  • ๐Ÿ”ง Implementation: Custom setup assistance available

๐Ÿš€ Ready to Transform Your Analytics?

Start building your first funnel today with proper payload structure and discover insights that platform-locked analytics simply can't provide.