Revenue Providers

Connect Stripe, Lemon Squeezy, Paddle, or Polar for automatic revenue attribution.

Revenue Provider Integrations

EngageTrack connects to your payment provider to automatically attribute revenue to traffic sources. This powers the Revenue dashboard, showing exactly which channels drive real business results.

Supported Providers

  • Stripe
  • Lemon Squeezy
  • Paddle
  • Polar

Connecting a Provider

  1. Navigate to Site Settings → Revenue
  2. Select your payment provider
  3. Authenticate:
    • Stripe — click Connect with Stripe to complete the OAuth flow (~30 seconds; no API key needed)
    • Lemon Squeezy, Paddle, Polar — enter your API key (and store/org ID where required)
  4. Select your reporting currency
  5. Click Connect

During connection, EngageTrack validates your credentials and automatically registers a webhook on the provider. No manual webhook setup is required.

API keys are encrypted at rest and are never displayed in the dashboard after initial setup.

Revenue Attribution

Once connected, here's how attribution works:

  1. A visitor lands on your site → EngageTrack records their identity and traffic source
  2. The visitor makes a purchase → your payment provider sends EngageTrack a webhook
  3. EngageTrack matches the payment to the visitor and attributes the revenue to the original traffic source

Revenue is attributed using both first-touch (the source that originally brought the visitor) and last-touch (the most recent source before purchase) models.

Linking Visitors to Payments

For accurate attribution, pass the EngageTrack visitor ID to your payment provider. For example, with Stripe:

const session = await stripe.checkout.sessions.create({
	metadata: {
		engagetrack_visitor_id: visitorId, // from engagetrack.getVisitorId()
	},
	// ...other options
});

Changing Currency

You can update your reporting currency at any time from Site Settings → Revenue. Revenue from different currencies is automatically converted to your reporting currency using daily exchange rates.

Disconnecting

To disconnect your revenue provider, go to Site Settings → Revenue and click Disconnect. Existing revenue data is preserved.

Required Permissions

  • Viewing revenue data: Viewer role or higher
  • Connecting, updating, disconnecting: Admin role or higher