Stripe Payment Links and embeds
Capture affiliate referrals for Stripe Payment Links, Pricing Tables, and Buy Buttons.
Connect Stripe
- Connect the Stripe account that receives your payments in Monok’s Integrations.
- Open your offer’s Affiliate integration and choose Stripe Payment Links and embeds.
- Install the snippet on your landing page and the page that starts checkout, using your public workspace ID.
Enable hosted checkout tracking
HTML
<script defer src="https://cdn.monok.com/monok.js"
data-workspace-id="WORKSPACE_ID"
data-stripe-hosted-checkout="true"></script>- For a custom Stripe checkout domain, set data-stripe-checkout-origin to its HTTPS origin.
- For one-time payments, configure Stripe to create a customer.
- The script fills the Stripe client reference when a referral is active and the checkout has no merchant-provided reference.
Verify the referral
Click Test browser script in Monok to check capture without recording a real click. Then follow a valid affiliate link and verify that a referred checkout and completed payment appear in Monok. Stripe test-mode events do not earn commissions.
