Fusion Iframe

Fusion Iframe

Embed the Fusion Offerwall directly inside your own site or app with a single iframe snippet. All the benefits of the Fusion match API, without integrating an API and without sending respondents away from your app or site.

The Fusion Iframe builds on the Fusion Offerwall. Where the standard Offerwall requires you to redirect respondents to a hosted page, the iframe offering lets you embed that same experience inside your own page. Respondents never leave your site: they browse offers, screen, and take surveys within the frame, while all completions are credited to you through server-to-server postbacks.

Respondents are presented with up to 12 options at varying price points and survey lengths, custom-tailored so they aren't shown surveys they don't qualify for or have already attempted. The embedded offerwall is mobile responsive and fast to load, and pages are translated for the respondent's localization.

Reasons to use the Fusion Offerwall Iframe

  • All the benefits of the Fusion Match API and Fusion Offerwall

  • Respondents stay on your site or in your app

  • No need to integrate an API

  • The embed code is generated for you in the portal - copy, parameterize, and paste

  • Respondents can choose the right survey opportunity for them

User Experience

The offerwall renders inside an iframe on your page at 100% of the container's width and a fixed height of 800px. It can be embedded in a webpage, a web app, or an in-app browser view.

Publishers define the reward conversion rate and currency name displayed to the respondent. Rewards are converted from USD based on the conversion rate configured in your Offerwall Settings - factor in your costs when determining your conversion rate.

Once a respondent selects an offer (depending on the profilers provided) they may need to answer a few screening questions to determine the best survey fit and are then sent to the best-match survey where they are eligible. All of this happens within the frame.

All completes are handled through S2S callbacks and not through redirects - which is exactly what makes the iframe presentation safe: crediting never depends on a top-level redirect reaching your servers.

Getting Started

To use the Fusion Iframe, you must have the Fusion Offerwall feature enabled for your account. The iframe code generator appears in your portal only once Offerwall is active.

In order to integrate, you must:

  • Provide your domain name to the Supply Ops team for us to whitelist

  • Accept S2S postbacks (API calls)

  • Generate and store a unique transaction ID for each respondent transaction (session)

  • Serve the embedding page over HTTPS

  • Populate the respondent parameters in the snippet dynamically for each respondent (see below)

Generating Your Iframe Code

The embed snippet is generated for you in the supplier portal (SupplierRouterFrontend), in the Iframe panel under your redirect settings:

  1. Log in to the portal with the credentials provided by the PureSpectrum team.

  2. Open the Iframe panel. It is available once Offerwall is enabled on your account.

  3. Enter a Respondent ID (required), a Locale (required, pattern language_COUNTRY, e.g. en_US), and optionally a Member ID.

  4. Click Generate Iframe Code, then copy the snippet.

Your publisherId, currency, and conversion are filled in automatically from your account and Offerwall Settings - the snippet regenerates whenever you save changes to those settings.

Example iframe code

<iframe src="https://offerwall.spectrumsurveys.com/publisher_offers?publisherId={PUBLISHER_ID} &respondentId={UNIQUE_SESSION_ID}&countryCode=en_US &memberId={MEMBER_ID}&currency=Gems&conversion=500" width="100%" height="800px" frameborder="0"> </iframe>

Important: parameterize per respondent

The generated snippet contains the sample values you typed into the generator. Do not hard-code them: your page must inject a unique respondentId per session (and the respondent's memberId and locale) server-side or at render time. Reusing one respondentId across respondents will break deduplication and completion tracking.

Iframe URL Parameters

The iframe src accepts the same parameters as a standard Offerwall entry link:

Parameter

Required

Description

Example

Parameter

Required

Description

Example

publisherId

Yes

Your unique publisher ID. Filled in automatically by the generator.

publisherId=1

respondentId

Yes

Unique respondent session ID — must be generated fresh for each session.

respondentId=FusionTestSessionId

countryCode

Yes

Respondent localization, pattern language_COUNTRY.

countryCode=en_US

memberId

Yes

Persistent member ID. Strongly encouraged — allows us to retrieve the respondent profile and remove already-attempted surveys.

memberId=FusionTestMemberId

currency

No

Currency name shown to the respondent. Defaults to Credits. Populated from your Offerwall Settings.

currency=Gems

conversion

No

Conversion rate (multiplier) from USD. Defaults to 100. Populated from your Offerwall Settings.

conversion=500

profile data

No

Respondent profile qualifications stored in your system. See “Passing in Demographics.”

211=111&212=111&229=90403

hashed_id

No

Hashed email ID (SHA-256) to further deduplication efforts.

hashed_id=f20f15cd…

sub_supplier_id

No

Sub-supplier ID for the respondent.

sub_supplier_id=123

Redirects

As with the standard Offerwall, you can configure where a respondent lands after a survey - back to the offerwall, or to a URL of your choosing - independently for Completes and non-Completes.

If the respondent is returned to your iframed-in offerwall, they are shown a localized message:

  • Complete: “You completed the survey and will be credited! Would you like to try another?”

  • Non-complete: “This survey wasn't a good fit! Would you like to try another?”

Iframe redirect behavior

All post-survey navigation happens inside the iframe, not in your parent page. If you configure a redirect to your own URL, that URL will load within the 800px frame — so it must render sensibly at that size and be allowed to display in an iframe. For most iframe integrations we recommend setting both Complete and non-Complete redirects to offerwall, keeping respondents in the offer loop and crediting them via postbacks.

Postbacks and Registering Completes

To support the Fusion Iframe you must accept a server-to-server postback. Documentation may be found here: Security – S2S Postbacks.

  • You must support dynamic payouts, as respondents may take surveys with different payouts during a given iFrame session (because they are redirecting back to your page).

  • We send a postback for each completion, using a unique Survey ID (Completion ID).

  • Because crediting is postback-driven, it works identically whether the offerwall is embedded or opened as a standalone page.

Passing in Demographics

To maximize the quality of matches, we recommend passing in as many demographic variables as possible in the iframe URL. At a minimum, please refer to Profiling – Appending Qualifications.

We highly encourage passing a memberId in the request parameters. Doing so allows us to retrieve the respondent profile and remove any attempted surveys from the response.

Technical Notes

  • Dimensions: the snippet renders at width="100%" and height="800px". Height is fixed - size the containing element accordingly. The offerwall content itself is mobile responsive within the frame.

  • Cookies: the offerwall carries respondent state in URL parameters and does not depend on cookies or local storage, so it is unaffected by third-party cookie restrictions inside iframes.

  • HTTPS: the offerwall is served over HTTPS; your embedding page must be as well, or browsers will block the frame as mixed content.

  • Environments: production offerwall.spectrumsurveys.com

Next Steps

The rest of the documentation will take you through your account setup:

Questions

If any questions come up during the setup process, please reach out to globalsupply@purespectrum.com.