Skip to main content

Sending Events

Events track user actions like clicks, sign-ups, or purchases. In this third step, we’ll track two events for the new-feature flag (from Quickstart: Set Up a Flag) to test if the new layout boosts conversions in an experiment.
  • Sign-Up CTA Click (sign-up clicks within the layout (Disabled / Enabled)
  • Sign-Up Complete (completed sign-ups).
1

Check SDK Setup

Ensure the SDK is initialized (from Quickstart: Integrate the SDK):
2

Track CTA Clicks

Add a track() call when users click the CTA:
3

Track Sign-Ups

Log when users complete registration:
4

Verify in Dashboard

  • In the Dashboard, Click ”+” next to Metrics or go to Create a Metric.
  • Check that signup-cta-click and signup-complete appear in the “Select Event” dropdown—they’ll auto-populate from these track calls.
  • You also also watch Live Events from the Dashboard.

Next Steps

Events are flowing—now use them: