StageUp
Web SDKEvents

Event System Overview

The AdStage Web SDK event system tracks user behavior to support data-driven decision-making through segment and funnel analysis.

🎯 What Is the Event System?

The event system records every user action that occurs on your website or app. It collects every user action as data, including button clicks, page views, purchases, and sign-ups.

📊 What You Can Get from Event Data

1. Segment Analysis

You can automatically classify and analyze groups of users that meet specific conditions.

  • Event-based segments: Users who performed a specific event
  • Behavior-based segments: Classification based on user behavior patterns
  • Attribute-based segments: Classification by age, region, device, and more

Examples:

  • "Users who clicked the purchase button but did not complete payment"
  • "Active users who visited 3 or more times within 7 days"
  • "Users in their 20s and 30s accessing from mobile"

2. Funnel Analysis

Analyze the process of users moving toward a goal, step by step.

  • Conversion rate measurement: Check the drop-off rate and completion rate at each step
  • Bottleneck discovery: Identify the segment where users drop off the most
  • Funnels by segment: Compare different funnel performance across user groups

Examples:

  • Sign-up funnel: Landing → Sign-up form → Email verification → Completion
  • Purchase funnel: Product view → Cart → Payment → Purchase complete
  • Content funnel: Visit → Read article → Write comment → Subscribe

🚀 Basic Event Tracking

Here is the most basic way to track events:

// SDK 초기화
AdStage.init({
  apiKey: 'your-api-key'
});
 
// 기본 이벤트 추적
AdStage.events.track('button_click', {
  button_id: 'purchase_btn',
  page: '/product',
  value: 29.99
});
 
// 사용자 속성 설정
AdStage.events.setUserProperties({
  gender: 'male',
  country: 'KR',
  city: 'Seoul',
  age: '25-34'
});

The event data collected this way is automatically analyzed into segments and funnels on the AdStage dashboard, so you can grasp user behavior patterns and business performance at a glance.

Table of Contents