Know what must work before you launch
Install the site script, choose the checkout path, and verify a complete sale
- Best fit
- Teams evaluating AffiliateBase for a Webflow affiliate workflow.
- Checkout handoff
- The checkout path must receive the generated AffiliateBase referral ID.
- Proof required
- Complete one referred checkout and confirm the attributed sale and commission.
Follow the attribution evidence
Illustrative scenario · fictional values
-
Referred visit
?via=partner
AffiliateBase captures the visit and generates a referral record.
-
Checkout handoff
referral ID
The checkout must carry the generated identifier into Stripe.
-
Paid event
$99 paid
A supported Stripe event confirms the attributed payment.
-
Commission
$19.80 due
An eligible attributed sale creates the commission record.
-
Payout prep
Payout ready
Review the commission and prepare the next step with your payout provider.
This guide is for Webflow site owners running a program for their own offers. If you are looking to join Webflow’s company affiliate program, use Webflow’s partner information instead.
Webflow supports custom scripts on eligible site or workspace plans, and scripts run after preview or publication. See Webflow’s official custom code guide. You still need a checkout that receives AffiliateBase’s generated referral ID.
The simplest path is a Stripe Payment Link, Buy Button, or Pricing Table on the same published page as the script. A Webflow form submission is a lead signal, not proof of a paid commission. Complete the checkout verification checklist.
Follow these steps to integrate AffiliateBase with your Webflow site:
Add the Tracking Script
<script async src="https://app.affiliatebase.io/track.js" data-account-id="YOUR_ACCOUNT_ID"></script>
Test the Script
// Open browser console and check for:
console.log(window.AffiliateBase); // Should show the tracking object
console.log(window.AffiliateBase?.referral); // Empty string or generated referral ID
Integrate with Stripe Payment Links
<!-- Keep Stripe checkout elements on the same page as the AffiliateBase script. -->
<a href="https://buy.stripe.com/xxxxx">Buy now</a>
<stripe-pricing-table
pricing-table-id="prctbl_xxx"
publishable-key="pk_live_xxx"
></stripe-pricing-table>
<!-- For custom or redirected Stripe-hosted links, opt in explicitly. -->
<a data-affiliatebase href="https://link.payment/xxxxx">Buy now</a>
Track Form Submissions (Optional)
<!-- Add data-affiliatebase="true" to your Webflow form wrapper -->
<!-- In Webflow Designer: select the Form Block, go to Settings, add Custom Attribute -->
<!-- Name: data-affiliatebase, Value: true -->
<!-- The referral ID will be automatically injected as a hidden field -->
Verify Tracking
// Visit your site with a test affiliate link:
// Open the exact setup-test link shown in AffiliateBase.
// Check the console:
console.log(window.AffiliateBase?.referral); // Should show a generated referral ID
Why Use AffiliateBase with Webflow?
Webflow can host the referral script; checkout compatibility still needs a complete test.
No-Code Integration
Copy and paste the script in Webflow's custom code settings. No development required.
Stripe Integration
Use a Stripe Payment Link, Buy Button, or Pricing Table on the same published page, then verify the generated referral ID reaches checkout.
Form Integration
Track conversions from Webflow forms by adding a single attribute.
CMS Compatible
Works with Webflow CMS collections and dynamic content.
Frequently Asked Questions
Do I need coding knowledge to use AffiliateBase with Webflow?
Can I track conversions from Webflow forms?
Does AffiliateBase work with Stripe on Webflow?
What tracking parameters does AffiliateBase support?
Related Platform Guides
Create an Affiliate Program for Your Squarespace Site
Review Squarespace code-injection prerequisites, compatible Stripe checkout options, native-commerce limits, and AffiliateBase verification steps.
Create an Affiliate Program for Your Wix Site
Evaluate AffiliateBase on Wix: custom-code prerequisites, supported Stripe checkout options, Wix Stores limits, and end-to-end verification.
Add an Affiliate Program to Next.js
Install affiliate tracking in Next.js, hand the generated referral ID to a server-created Stripe Checkout Session, and verify attribution.
Add an Affiliate Program to Nuxt
Load affiliate tracking in Nuxt, pass the generated referral ID to a server route, and verify a Stripe sale and commission.
Create an Affiliate Program with WordPress
Install AffiliateBase on WordPress, choose a supported Stripe checkout, and verify referral attribution without assuming WooCommerce or plugin compatibility.
Ready to Launch Your Webflow Affiliate Program?
Get started with AffiliateBase today and start growing your Webflow site with affiliate marketing.