Get Your Affiliate Program Running in Minutes
Set up Affonso on your website in minutes to track affiliate conversions and grow your business through partnerships. Here's how to get started in 3 simple steps:
Add Tracking Script to Your Website
Paste our tracking script into your website's <head> tag to start monitoring affiliate traffic and conversions:
<!-- Place in <head> tag -->
<script
async
defer
src="https://cdn.affonso.io/js/pixel.min.js"
data-affonso="YOUR_PUBLIC_PROGRAM_ID"
data-cookie_duration="YOUR_COOKIE_DURATION"
></script>Configuration:
- Replace
YOUR_PUBLIC_PROGRAM_IDwith your program ID from the Affonso dashboard - Set
YOUR_COOKIE_DURATIONto how many days the tracking should persist - Using Google Tag Manager? If you manage your scripts through GTM, follow our GTM integration guide instead.
🍪 Need GDPR/Cookie Consent compliance? Add
data-requires-consent="true"to the script above and follow our GDPR integration guide for privacy-first tracking.
Installation Guides
Choose your framework or platform for detailed installation instructions:
Frameworks & Libraries
Website Builders & No-Code
AI Code Generators
Tag Managers
Don't see your platform? Affonso works with any website that runs JavaScript. Need help? Email us at hello@affonso.io
Track User Signups (Optional but Recommended)
While this step is optional, we strongly recommend implementing signup tracking for better insights and affiliate management.
Implementation
Add this code after your user registration logic:
// After successful user registration
window.Affonso.signup(userEmail);Why track signups?
- See which affiliates drive the most registrations
- Calculate conversion rates from clicks to signups
- Optimize your funnel based on affiliate performance
Connect Your Payment Provider
Connect your payment provider to automatically track purchases and calculate commissions.
Next Steps
Once your basic setup is complete, take your affiliate program to the next level:
- Testing Your Integration
- Custom Branding
- Go-live checklist
- Invite Affiliates
- Upload Marketing Materials
- Create Affiliate Discovery Agent
- Affiliate Program Best Practices
Need help? Contact our support team - we typically respond within 2 hours during business hours.





























