Integrate AffilFinder with GeoTargetly
Keep GeoTargetly for gating and drop an AffilFinder iframe into its custom message to monetize blocked visitors with one snippet.
On this page
- What you'll get
- Option 1 — Just the offers (minimal)
- Option 2 — Branded message + offers (drop-in card)
- Install in GeoTargetly — step by step
- Customizing
- FAQ
- Will offers load for every country?
- Does GeoTargetly see the offers?
- Can I still use my custom message text?
- What if a visitor clicks an offer?
- Next steps
Already using GeoTargetly (or any geo-popup / custom-message tool) and don't want to rip it out? Keep it. Just drop an AffilFinder iframe inside the message it already shows, and every blocked visitor becomes a revenue opportunity instead of a dead end.
This is the fastest possible integration — one HTML snippet, no code changes, no deploy.
YOUR_PUBLIC_KEY placeholders.Sign in to pre-fill with your real keys →What you'll get
- GeoTargetly still decides who gets blocked.
- AffilFinder shows country-appropriate affiliate offers inside the message.
- You get paid per click. No backend work.
Option 1 — Just the offers (minimal)
Paste this where GeoTargetly lets you inject custom HTML (e.g. "Custom message" → HTML tab):
<div style="width: 100%;">
<iframe
src="https://affilfinder.com/?pub=YOUR_PUBLIC_KEY&website=YOUR_WEBSITE_KEY"
style="width:100%;min-width:320px;min-height:280px;border:none;overflow:auto;"
title="Offers"
></iframe>
</div>Replace YOUR_PUBLIC_KEY (starts with pk_…) and YOUR_WEBSITE_KEY (starts with web_…) with the values from your Dashboard → Websites → your site.
That's it. The iframe auto-renders offers for the visitor's country using the same IP that GeoTargetly saw.
Option 2 — Branded message + offers (drop-in card)
Prefer to keep your own wording around the offers? Use this full card. Edit the copy, colors, and padding to match your brand:
<div style="
width: 500px;
max-width: 100%;
background-color: #ffffff;
font-family: Arial, sans-serif;
text-align: center;
padding: 20px;
box-sizing: border-box;
border-radius: 10px;
">
<div style="margin-bottom: 20px;">
<h2 style="margin-bottom: 10px; font-size: 20px; color: #333;">
Service Not Available in Your Location
</h2>
<p style="font-size: 14px; color: #555; line-height: 1.5;">
We're sorry, but our services are not currently available in your region
due to geographic compliance requirements.
</p>
<p style="font-size: 13px; color: #777; margin-top: 10px;">
Thank you for your understanding.
</p>
</div>
<div style="width: 100%;">
<iframe
src="https://affilfinder.com/?pub=YOUR_PUBLIC_KEY&website=YOUR_WEBSITE_KEY"
style="width:100%;min-width:320px;min-height:280px;border:none;overflow:auto;"
title="Offers"
></iframe>
</div>
</div>Install in GeoTargetly — step by step
Get your AffilFinder keys
In the AffilFinder Dashboard → Websites, create (or open) the website you want to monetize. Copy the Public key (
pk_…) and Website key (web_…).Open your GeoTargetly block rule
In GeoTargetly, open the rule that handles blocked countries and pick the action that supports custom HTML (e.g. "Popup Message", "Content Swap", or "Custom Message").
Paste one of the snippets above
Switch the content editor to HTML / Code mode. Paste the snippet and replace the two
YOUR_*placeholders with your real keys.Publish and test
Save the rule. Open your site from a blocked country (or use a VPN). You should see the message with live offers inside it.
Customizing
- Size — Tweak
min-height/min-widthin the iframe style. The offer grid is responsive, so anything ≥280pxtall works. - Message copy — Edit the
<h2>and<p>in Option 2 to match your product tone. - Colors & radius — Change the outer
<div>inline styles. No framework required. - Desktop vs mobile — The iframe flows with its container, so whatever GeoTargetly's popup does on small screens, the offers follow.
FAQ
Will offers load for every country?
Offers are filtered by visitor geography. If you have offers live for the visitor's country, they'll render. Otherwise the iframe shows a short "no offers available" state — visitors never see a broken popup.
Does GeoTargetly see the offers?
No. GeoTargetly only renders the HTML you paste. The iframe is a standalone frame served by AffilFinder; GeoTargetly has no visibility into what's inside it.
Can I still use my custom message text?
Yes — Option 2 does exactly that. Put any wording you want outside the iframe.
What if a visitor clicks an offer?
They're redirected to the advertiser. You earn the payout configured for that offer (CPC in most cases).
Next steps
Need more help?
Can't find what you're looking for? Our team responds within one business day.