Super.so transforms your Notion pages into fast, customizable websites, and provides custom code injection capabilities that make it easy to add affiliate tracking across your entire site.
Add tracking script to your Super.so site
Super.so's recommended approach is to use the custom code feature in your site settings, which ensures the script loads on all pages generated from your Notion content.
-
Open your Super.so dashboard
-
Go to your site's Settings
-
Navigate to Code section
-
In the Head HTML field, add your tracking script:
<script async defer src="https://affonso.io/js/pixel.min.js" data-affonso="YOUR_PUBLIC_PROGRAM_ID" data-cookie_duration="YOUR_COOKIE_DURATION" ></script>
-
Click Save
-
Your site will automatically update with the tracking script
Alternative: Use page-specific custom code by adding HTML blocks to individual Notion pages, though site-wide injection is preferred for consistent tracking.
For more details, see Super.so's help documentation.
Testing
- Visit your Super.so site with
?atp=test
- Check browser DevTools → Console → type
window.affonso_referral
- Verify the script appears in your page source
- Check tracking in your Affonso dashboard
Note: Custom code changes may take a few minutes to propagate across your site.
Multi-Domain Setup
If you're using Super.so for your documentation or blog (e.g., docs.yourcompany.com
) while your main SaaS app runs elsewhere (e.g., app.yourcompany.com
), make sure to install the Affonso tracking script on both domains.
Affonso works seamlessly across subdomains - the same affiliate cookie will be shared between domains. See our multi-domain setup guide for more details on cross-domain tracking.
Next Steps
Once installed, you can access affiliate referral data and pass it to your payment provider. Connect your payment provider →