Connect Stripe to Email Calculator
Track revenue and ROI from your email campaigns by connecting your Stripe account
Step 1: Get Your Stripe Secret Key
- Log in to your Stripe Dashboard
- Click Developers in the top navigation
- Select API keys
- Under Standard keys, find your Secret key
- Click Reveal test key or use your Live mode key
- Copy the secret key (starts with
sk_)
Security Note: Never share your secret key publicly or commit it to code repositories. This key provides read access to your payment data.
Step 2: Add UTM Tracking to Stripe Metadata
To track which payments came from email campaigns, add UTM parameters to Stripe payment metadata:
// When creating a payment or checkout session
metadata: {
utm_campaign: 'summer-sale-2026',
utm_source: 'mailchimp',
utm_medium: 'email'
}Email Calculator will read these metadata fields to match payments with your campaigns.
Step 3: Connect to Email Calculator
- Go to your Email Calculator Settings
- Find API Integrations
- Select ROI as integration type
- Choose Stripe
- Paste your Secret Key
- Click Connect Platform
Step 4: Track Campaign ROI
Once connected, Email Calculator will automatically sync your Stripe payments and match them to your email campaigns.
View ROI metrics in your campaign reports showing revenue generated from each email.