Conversion rate is the percentage of users who complete a specific action—like making a purchase or signing up—compared to your total users. In Amplitude, you need to track the events that define your conversion funnel, then use the platform's analysis tools to calculate the rate. Getting this right is critical because even small improvements in conversion rate can dramatically impact revenue.
What Is Conversion Rate?
At its core, conversion rate measures how effective you are at moving users from one state to another.
Understand the basic definition
Conversion rate = (Number of users who completed the desired action / Total number of users) × 100. In Amplitude, your 'desired action' is any event you track—a purchase, a signup, a feature use, a subscription upgrade. The key is that Amplitude sees everything as an event, so you define what counts as a conversion by creating the right tracking events.
// Track a conversion event in Amplitude
amplitude.track('Purchase Complete', {
'product_id': 'sku_12345',
'revenue': 99.99,
'currency': 'USD',
'user_type': 'premium'
});Know why this matters in Amplitude
Amplitude doesn't auto-calculate conversion rate for you—it gives you the tools to measure it. You track events, define funnels in the Funnel Analysis feature, and Amplitude shows you how many users dropped off at each step. This means your conversion tracking is only as good as your event implementation.
How to Track Events for Conversion Rate
Before you can measure conversion rate, you need to instrument your product correctly.
Track the start event
The beginning of your funnel is usually when a user enters a particular flow. For e-commerce, that might be viewing a product. For SaaS, it might be visiting the checkout page. Use the Amplitude JavaScript SDK to track this event with relevant properties.
// Track when a user views a product
amplitude.track('Product Viewed', {
'product_id': 'widget_456',
'category': 'electronics',
'price': 49.99,
'user_segment': 'free_trial'
});Track intermediate steps if needed
If your funnel has multiple steps—like viewing a product, adding to cart, and checking out—track each one as a separate event. Include properties that help you segment and debug later, like cart_value or coupon_applied.
// Track adding to cart
amplitude.track('Add to Cart', {
'product_id': 'widget_456',
'quantity': 2,
'cart_value': 99.98
});
// Track checkout initiated
amplitude.track('Checkout Initiated', {
'cart_value': 99.98,
'shipping_method': 'standard'
});Track the conversion event itself
The final step is the actual conversion. Make sure you amplitude.flush() after tracking critical conversion events to ensure data is sent immediately, especially in single-page apps where users might leave quickly.
// Track the conversion
amplitude.track('Purchase Complete', {
'product_id': 'widget_456',
'revenue': 99.98,
'currency': 'USD',
'order_id': 'order_789'
});
// Ensure the event is sent immediately
amplitude.flush();Measuring Conversion Rate in Amplitude
Once your events are tracked, you can use Amplitude's features to calculate and analyze conversion rates.
Set up a funnel in Amplitude
Go to Funnel Analysis in Amplitude and add your events in order. Amplitude will automatically calculate the conversion rate at each step and show you the drop-off. For example, if 1,000 users view a product but only 100 complete a purchase, your conversion rate is 10%.
// When you define a funnel in Amplitude UI:
// Step 1: Product Viewed → 1,000 users start
// Step 2: Add to Cart → 400 users continue (40% conversion)
// Step 3: Purchase Complete → 100 users complete (10% overall conversion)
// Amplitude calculates these rates automatically once events are definedSegment your conversion analysis
Use Segmentation in Amplitude to calculate conversion rates for specific user groups. Maybe your conversion rate is 15% overall but only 5% for free-tier users. This helps you identify where to optimize. You can segment by user properties, event properties, or cohorts.
// Set user properties that enable segmentation later
amplitude.setUserProperties({
'user_plan': 'premium',
'signup_date': '2024-01-15',
'region': 'us-west',
'cohort': 'early_adopter'
});
// Amplitude lets you segment funnels by these properties in the UI
// without any additional code changesCommon Pitfalls
- Forgetting to track all steps in your funnel—missing a step means Amplitude can't calculate accurate conversion rates
- Mixing up event-level and user-level metrics—Amplitude's funnels count unique users, not event volumes
- Not setting user properties for segmentation—you'll miss the insight that different user types convert at very different rates
- Using inconsistent event names across your product—this breaks funnel analysis because Amplitude treats each event name as separate
Wrapping Up
Conversion rate in Amplitude is calculated by tracking user events, defining a funnel sequence, and letting Amplitude count how many unique users make it through each step. The metric is simple in concept but requires rigorous event instrumentation to execute correctly. Track your start event, intermediate steps, and final conversion with consistent naming and relevant properties. Then use Amplitude's Funnel Analysis to see your conversion rates and segment by user properties to find optimization opportunities. If you want to track this automatically across tools, Product Analyst can help.