Revenue Connections
Connect your payment providers to automatically attribute revenue to traffic sources
How revenue attribution works
Connect provider
Add your API keys below to authorize the payment source.
Add webhook
Paste the callback URL we generate into your provider dashboard.
Revenue flows in
GHOST matches successful payments back to the originating visitor session.
Stripe
SaaS subscriptions, one-time payments, Stripe Checkout
Shopify
E-commerce orders, product sales, Shopify checkout
WooCommerce
WordPress e-commerce, WooCommerce orders
Ad Platform Connections
Send server-side conversion events to your ad platforms using captured visitor identifiers (_fbp, gclid, etc.) to lift attribution match quality and reduce CPA.
Meta Conversions API
Server-side conversions for Meta Ads — typically 10-20% Event Match Quality lift, ~15% lower CPA
Google GA4 Measurement Protocol
Server-side conversion events for GA4 → Google Ads. Captures gclid + ga client_id, no Google Cloud project required.
Custom Revenue Tracking
A one-line JavaScript call you fire on your thank-you / success page. The tracking script reads the visitor's ghost_vid from their first-party cookie and links the sale directly to their profile — no email matching, no webhook needed.
Use this when
- • You have a thank-you page you control
- • Your payment provider isn't listed above (Square, crypto, custom)
- • You want guaranteed cookie-based attribution alongside a webhook
Skip this when
- • Stripe webhook above is connected — it captures every sale automatically
- • Subscription renewals — no thank-you page loads, webhook handles it
- • Offline / manual charges — buyer isn't on-site at purchase time
// Track a sale from your checkoutGHOST.revenue(99.99, 'USD', 'txn_123', { plan: 'pro' });