Section widget
1 min read
Use this embed when you want sponsored offers inside your layout — for example a sidebar, below an article, or a dedicated “Deals” strip — instead of a full-page takeover.
Install
Add a container element where offers should render, then load the section script. Default container id is affilfinder-ads; use data-container if you pick another id.
<div id="affilfinder-ads"></div>
<script
src="https://affilfinder.com/widget-section.js"
data-pub="YOUR_PUBLIC_KEY"
data-website="YOUR_WEBSITE_KEY"
></script>Behavior
- Uses the same public and website keys as the geo-blocking widget.
- The decision API runs with section semantics (
mode=section) so analytics reflect inline placement. - Geo rules still decide allowed vs monetization path; in section mode, blocked visitors see fills in your container rather than a full-screen overlay.
Optional attributes
data-comments="false"— hide the “Sponsored” label for a quieter look.data-api,data-dev-country,data-dev-region— same meaning as on Geo-blocking widget.
Related
- Geo-blocking widget — full-page overlay on the same keys.
- Widget integration reference.
Need more help?
Can't find what you're looking for? Reach out to our team and we'll get you sorted.