Stripe Payment Links

Step 1: Connect Stripe to Humblytics

Before you can track revenue with Stripe Payment Links, you need to connect your Stripe account to Humblytics:

  1. Go to your Humblytics dashboard and navigate to Site Settings

  2. Click on the Revenue tab to access revenue tracking settings

  3. Select Stripe as your payment provider

  4. Choose "Payment Links" as your integration method

  5. Enter your Stripe Secret Key (found in your Stripe Dashboard)

  6. Save the configuration to connect your Stripe account

Your Stripe Secret Key will be encrypted and stored securely. Never share your secret key publicly.

Once your Stripe account is connected, configure your Stripe Payment Links:

In your Stripe Payment Links, select a product and go to the "After Payment" tab.

For "Confirmation page", choose to redirect customers to your website and add ?stripe_session_id={CHECKOUT_SESSION_ID} to the URL.

Stripe Payment Links Configuration

Humblytics will automatically look for the stripe_session_id in the URL and track the payment.

Important Notes

  • Duplicate payment events are ignored so you don't need to worry about multiple redirects

  • Works best when customers complete the purchase journey on the same device/browser

  • No additional code required - just configure the redirect URL

After receiving a successful payment, you should see revenue data in your dashboard (referrer, country, browser, etc.). If you don't, please contact us at [email protected].

Key Benefits

Benefit
Detail

Zero code required

Just configure the redirect URL in Stripe

Automatic tracking

Revenue automatically attributed to visitor data

Privacy-compliant

Cookie-free tracking, no consent banners

Split test ready

Use revenue as conversion goals in A/B tests

Setting Up Split Tests with Revenue Goals

  1. Create a split test on your main website

  2. Choose Revenue as your goal type

  3. Set your target revenue amount or use "Any Revenue" for all purchases

  4. Launch your test - revenue will be automatically tracked

Troubleshooting

  • No revenue data appearing? Check that your Stripe account is properly connected

  • Missing attribution? Verify the session_id is being passed in the redirect URL

  • Need help? Contact [email protected] for assistance

Last updated

Was this helpful?