Connect a third-party panel provider
Send participants from an external panel to a RedJade survey, then return them to the provider with their outcome. The provider supplies the participant IDs and return URLs.
Send participants to RedJade
Section titled “Send participants to RedJade”Create an online anonymous event and give its generated survey URL to the provider. The provider adds an external_id for each participant. This JavaScript example preserves existing query parameters and encodes the ID:
const surveyUrl = new URL("PASTE_GENERATED_SURVEY_URL_HERE");surveyUrl.searchParams.set("external_id", "panel-member-17");surveyUrl.searchParams.set("locale", "en_US");const participantUrl = surveyUrl.toString();Replace the placeholder with the complete survey URL generated by RedJade. Send the participant to participantUrl. The locale parameter is optional.
Reuse the same survey URL and external ID when a participant returns so RedJade can resume the session. Use an opaque provider reference; URLs should not contain names, email addresses, or credentials.
Return participants to the provider
Section titled “Return participants to the provider”In the test’s instructions, enable redirects and set Custom Redirect Links to the provider’s corresponding URLs. For a provider that uses respondent as its participant parameter:
| Outcome | Example URL |
|---|---|
| Completed | https://panel.example/complete?respondent={{participant_external_id}} |
| Terminated | https://panel.example/terminate?respondent={{participant_external_id}} |
| Quota full | https://panel.example/quota-full?respondent={{participant_external_id}} |
Use the paths and parameter names supplied by the provider. Variable substitution does not URL-encode the return value; the examples assume an external ID such as panel-member-17 that is safe in a query parameter. See survey variables for substitution behavior.
Test each outcome and a resumed session. Closing the browser tab can interrupt a redirect; use webhooks when your application also needs a server notification.
For tasks embedded within a questionnaire or custom navigation during a survey, see custom JavaScript.