Browse guides
Astro and static sites
The marketing site only needs the snippet: Astro, Webflow, Framer, WordPress or plain HTML.
1 min read · For companies
A marketing site where partner links land only needs the snippet. The click is passed to Stripe by the product (often app.acme.com), as described in Install tracking.
Astro
<html lang="en">
<head>
<script is:inline async src="https://rewards.acme.com/v1/br.js"></script>
</head>
<body><slot /></body>
</html>is:inline keeps Astro from bundling the script, so it loads from your instance with its data- attributes. View transitions are covered: the snippet records again when the URL changes.
Webflow, Framer, WordPress, plain HTML
Paste the snippet into the site-wide head code: Webflow → Site settings → Custom code → Head code; Framer → Site settings → General → Custom code, start of <head>; WordPress → your theme's header or a header-scripts plugin.
<script async src="https://rewards.acme.com/v1/br.js"></script>Checkout on the same site with Stripe Payment Links or a pricing table? See Stripe Payment Links and pricing tables.