Cipher on other platforms
Check responses to studies you run in Qualtrics, LimeSurvey, REDCap or your own site, with one script tag.
Run your study wherever it already lives and still get Cipher on every response. You paste one script tag into the survey. It runs in the respondent's browser with nothing on screen, sends the finished session to Surbee, and the response appears in your Surbee project with its Cipher verdict, the same as a survey hosted on Surbee.
No server or API key is needed. Each study has its own study key, which is safe to put in a page.
Set it up
- In Surbee, create a new survey and open its study setup.
- Turn on Run Cipher on another platform and pick your platform.
- Copy the script tag and follow the steps for your platform below.
<script async src="https://www.surbee.dev/cipher/v1.js" data-key="cipher_pk_..."></script>Qualtrics
- In Look and feel, open General, then Header. Switch to the source view and paste the script tag. The header loads on every page, so this one paste covers the whole survey, not a single question.
- In Survey flow, add an Embedded data field named
cipher_sessionat the top. Each Qualtrics response then carries its Cipher session, so you can match the two exports. - If the survey ends by redirecting, for example back to Prolific, add this to the JavaScript of the last question:
Qualtrics.SurveyEngine.addOnPageSubmit(function () { SurbeeCipher.complete() })When the survey ends on a thank-you message instead, Cipher notices the end of the survey by itself.
If your organisation's theme locks the header, paste this into the JavaScript of the first question on each page instead. It only loads once, so adding it to several questions is safe.
Qualtrics.SurveyEngine.addOnload(function () {
if (window.SurbeeCipher) return
var s = document.createElement('script')
s.src = 'https://www.surbee.dev/cipher/v1.js'
s.setAttribute('data-key', 'cipher_pk_...')
document.head.appendChild(s)
})Prolific
Prolific links to a survey hosted elsewhere, so set Cipher up on that survey
as above. Cipher reads PROLIFIC_PID, STUDY_ID and SESSION_ID from the
study URL and stores them with the response, so you can review flagged
participants before you approve submissions.
LimeSurvey, REDCap and your own site
Paste the script tag on every page of the survey, just before the closing
</body> tag. Cipher detects the end of LimeSurvey and REDCap surveys by
itself. On your own site, call this when the respondent finishes:
SurbeeCipher.complete()For the most accurate reading of written answers on a custom form, put
data-question-id on the element that wraps each question.
What Cipher reads
- The survey itself. Question wording, question types, options and how many questions sit on each page, so behaviour the survey asks for (leaving to look something up, pasting a link) is not held against anyone.
- The layout. Where each question's text, inputs and the next button sit on the page, as positions and sizes. Never a screenshot, so nothing a respondent typed or saw is captured as an image. Each question's time is the time it was actually on screen.
- The answers, including written ones, so text checks run as they do on Surbee.
- How the survey was answered. Timing, pointer and typing behaviour, and how each written answer was produced. Never the keys someone pressed.
Each study is compared with earlier respondents to the same study, then with other studies on the same platform and layout, so a one-question-per-page survey is never judged against a long single page.
Phones and tablets get the same touch checks as surveys hosted on Surbee: how taps land, how swipes move and how the on-screen keyboard is used.
Motion access on iPhones
Turn on Ask iPhone respondents for motion access to let Cipher tell a phone
held in a hand from a script on iPhones and iPads. iOS then shows respondents
an "Allow motion and orientation access?" prompt on their first tap, so say so
on your consent or welcome page, for example: "This survey may ask for motion
access on iPhones. It is used only to check that answers come from a real
device." Android needs no prompt. The setting adds data-motion="ask" to the
script tag, so paste the tag again after switching it.
Thresholds
Each response is flagged when its risk passes the flag threshold in your Cipher settings. We advise 0.6 as a starting point. The right line differs by use case, so read a sample of responses yourself and adjust it to your liking.
Allowed sites
Only the sites you list can send sessions with a study key. Qualtrics studies
start with qualtrics.com allowed. Use New key in Surbee if a key is ever
shared where it should not be; the old script tag stops working.
Billing
Each completed session is charged like a response to a survey hosted on Surbee, at your Cipher level. Sessions that are never completed are not sent and not charged.