Quickstart
Install AffilFinder
Pick your stack. Paste the snippet. You're live in two minutes. Same script, same dashboard — your geo rules and overlay copy are managed centrally.
HTML · Next.js · WordPress · Shopify · Webflow
Drop-in for static sites, custom CMSes, and anything that lets you add a script tag.
1Add the script before </body>
Place this just before the closing body tag. The script loads asynchronously and never blocks rendering.
html<script async src="https://api.affilfinder.com/v1/widget.js" data-pub="YOUR_PUBLISHER_KEY" data-website="YOUR_WEBSITE_KEY" ></script>2Verify in the dashboard
Open the AffilFinder dashboard, go to your website, and you should see the script ping arriving in real time.
What ships with the script
- Async load — never blocks rendering.
- Edge geo-decisioning — country resolved in <30ms typical.
- Honors your existing consent management.
- Tiny: ~9KB gzipped, single request.
- SPA-aware — re-evaluates on route changes.
- Allowlist + blocklist by country / region.