Skip to content
← Node operators

Install the widget

The widget is dependency-free and renders a single sponsored Boost, plus a Follow call-to-action that records an intent attributed to your node.

1. Get your site ID

Register a node, then copy the site_id from your dashboard.

2. Paste the snippet

Where you want the Boost to appear:

<div data-fedimedia-site="YOUR_SITE_ID"></div>
<script src="https://ads.fedifuel.com/widget.js" async></script>

3. Optional: context and format

Pass contextual hints so relevant Boosts are chosen. Targeting is contextual only — never personal.

<div data-fedimedia-site="YOUR_SITE_ID"
     data-region="ZA"
     data-language="en"
     data-format="boost"></div>
<script src="https://ads.fedifuel.com/widget.js" async></script>

data-format may be boost, display or video (Display/Video are rolling out for the OurTube.Africa network).

4. Lock it to your origin

In your node settings, add the origins allowed to embed your site ID. Browser requests from any other origin are rejected.

API access

Your node backend can fetch publisher details and earnings with your API key as a Bearer token:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://ads.fedifuel.com/api/v1/publisher

Questions about integrating? Reach us at hello@fedimedia.com.