Supported providers
PostMetric supports the following payment providers:- Stripe - Checkout API, PaymentIntent API, Payment Links
- LemonSqueezy - Checkout API, Payment Links
- Custom API - Record payments via our API
How it works
When a payment is completed, PostMetric links it to the visitor who made the purchase. This allows you to:- See which marketing channels drive revenue
- Calculate ROI for your campaigns
- Track conversion rates by source
- Identify your most valuable traffic sources
Setup methods
Method 1: Webhooks (Recommended)
Webhooks automatically send payment data to PostMetric when a payment is completed.Method 2: API
Record payments manually using our API:Linking payments to visitors
PostMetric uses three methods to link payments to visitors, in order of preference:- Metadata method (most reliable) - Include
visitorIdorsessionIdin your payment metadata - Email matching - Match customer email to identified users
- Timestamp correlation - Link payments to recent sessions (fallback)
For best results, use the metadata method by including visitor/session IDs in
your payment metadata.
View revenue data
Once payments are linked, you can view revenue data in your dashboard:- Revenue over time
- Revenue by source/channel
- Conversion rates
- Average order value by source