Boost Sales in the New Year: Save up to 30% with code BOOST30

Valid until January 31 • Special offer

00
Days
:
00
Hrs
:
00
Min
:
00
Sec
Custom Script/API Integration

Affiliate tracking for custom websites and apps.

Add Afivio’s tracking script, send conversion events through the API, and attribute every referral to the right affiliate, campaign, or partner.

Custom script and API integration
Platform Support
Any Stack
Custom code or CMS
Event Tracking
Flexible
Clicks, signups, orders
Deployment
Fast
Script + API endpoints

Flexible architecture for custom stacks.

Move from simple script install to fully event-driven tracking as your program scales.

Universal tracking script
Add Afivio script to your global head and enable referral cookie capture on any website.
REST API event ingestion
Send conversion and commission-relevant events from your backend with full control.
Works with any platform
Use with Webflow, Wix, custom React/Vue apps, headless commerce or legacy stacks.
Server-side reliability
Post high-value events from your server for stronger attribution quality and auditability.
Company API key auth
Authenticate requests with your company API key to protect event pipeline integrity.
Scalable integrations
Start with script only, then expand to webhook and backend flows as you grow.

Ship your integration in four stages.

Start lean and add deeper API coverage when you are ready.

01

Create company profile

Set up company and select Custom Integration mode in Afivio onboarding.

02

Install tracking script

Place script snippet in global head so referral visits are captured.

03

Send conversion events

Use API endpoints to push registrations and purchase outcomes from your backend.

04

Validate attribution reports

Confirm event flow and commission records in dashboard analytics.

Built for Engineering Teams

Afivio gives you lightweight frontend capture and robust backend event ingestion.

Script-first launch path
Backend-grade conversion data
Customer advocacy growth with Afivio
Customer-Led Growth

Turn your existing audience into a dependable acquisition channel

Afivio helps teams across billing platforms, custom stacks, and ecommerce tools convert existing customers into referral and affiliate partners with measurable, performance-based rewards.

  • Activate customers and partners who already trust your product
  • Track attribution across links, codes, and campaign sources
  • Run reward logic tied to real purchases and validated outcomes
  • Scale customer-led growth without depending only on paid ads

Custom Integration FAQ

Key technical decisions before implementation.

Do I need Shopify or WooCommerce for this?+
No. Custom API/Script integration is designed for any platform, including fully custom websites.
Can I start with script only?+
Yes. Script-only setup can capture referral traffic. API events can be added later for deeper conversion tracking.
Is backend integration required for purchases?+
For best reliability and anti-fraud controls, purchase and payout-critical events should be sent from your backend.
How is API access protected?+
Requests use company-level API key authorization so event sources can be validated.

Need custom affiliate attribution that scales?

Connect your stack to Afivio and standardize partner-driven revenue tracking.

Secure Setup
Fast Launch