Technical guide for embedding Tellet interviews in quantitative survey platforms (Dimensions, Decipher, Forsta) using iframes.
What Is Survey Embedding
Embedding places Tellet interviews inside quantitative surveys as iframe components, so participants complete AI-powered qualitative interviews within their survey session.
Use Cases
Use for:
- Adding qualitative depth to quantitative surveys
- NPS follow-ups with detailed "why" responses
- Mixed-method research in single session
- Platforms supporting HTML iframes (Dimensions, Decipher, Forsta, Confirmit)
Don't use for:
- Recruiting through research panels ā Use Panel Integration
- Standalone qualitative interviews ā Use Sharing Options
- Platforms without iframe support ā Check with vendor
Prerequisites
Platform Requirements
- HTML iframe embedding support
- JavaScript execution
- PostMessage API support
- HTTPS (required for video/audio permissions)
Technical Requirements
- Basic HTML/JavaScript knowledge (or survey programmer)
- Access to survey's HTML code editor
- Published Tellet project
- Ability to test in survey platform
How It Works
Participant Flow
- Respondent takes quantitative survey
- Reaches embedded Tellet interview
- Completes AI interview (text/voice/video)
- Survey automatically continues
- Data captured in both systems
Data Flow
Survey ā Tellet (URL parameters):
- Participant ID
- Demographics
- Previous answers
- Custom metadata
- Dynamic variables (%%variable%% replacement)
Tellet ā Survey (PostMessage API):
- STATUS_CHANGE: Real-time status and progress updates
- CONVERSATION_COMPLETE: Full conversation data when interview finishes
- DIGEST_READY: AI-generated analysis and insights (shortly after completion)
- END: Simple completion signal (legacy, still supported)
- INPUT/OUTPUT: Dynamic data exchange (legacy, still supported)
See PostMessage API section below for complete details on all message types.
Quick Start
Step 1: Get Project ID
From Tellet share URL https://chat.tellet.ai/507f1f77bcf86cd799439011, the project ID is the 24-character string at the end: 507f1f77bcf86cd799439011
Step 2: Add iFrame
In survey's HTML editor:
<iframe
id="telletFrame1"
src="https://chat.tellet.ai/YOUR_PROJECT_ID?environment=sandbox&language=English&skipConsent=true&participant_id=TEST123"
title="Tellet Interview"
style="width: 100%; height: 600px; border: none;"
allow="camera; microphone; autoplay;"
></iframe>
Replace YOUR_PROJECT_ID with actual 24-character ID.
Step 3: Test
Verify:
- iframe loads without errors
- Interview starts (no consent screen)
- Text/voice/video responses work
- Interview completes successfully
- Participant ID captured
Use environment=sandbox for testing to prevent test data in results.
Complete Setup
Component 1: iFrame Code
<iframe
id="telletFrame1"
src="https://chat.tellet.ai/PROJECT_ID?environment=sandbox&store=Tesco&date=2024-02-01&score=3&language=English&skipConsent=true&participant_id={{RESPONDENT_ID}}"
title="Tellet Interview"
style="width: 100%; height: 600px; border: none;"
allow="camera; microphone; autoplay;"
></iframe>
{{ā¦}} here is a generic stand-in ā replace it with your survey platform's own variable syntax (see Platform Variable Syntax below).
Key elements:
id="telletFrame1"- Unique ID (increment for multiple iframes)src="..."- Tellet project URL with parametersstyle="..."- Size and appearanceallow="..."- Permissions for camera/microphone
Component 2: Communication Script
Add once per survey page (not per iframe):
<script>
window.addEventListener('message', (event) => {
let frameId = null;
const iframes = window.document.getElementsByTagName('iframe');
// Find which iframe sent the message
for (let i = 0; i < iframes.length; i++) {
if (event.source === iframes[i].contentWindow) {
frameId = iframes[i].id;
break;
}
}
if (!frameId) return; // Message from non-Tellet source
// Handle different message types
if (event.data.type === 'INPUT') {
// Store data from Tellet on the iframe
for (const [attr, value] of Object.entries(event.data.data)) {
document.getElementById(frameId).setAttribute(attr, value);
}
}
if (event.data.type === 'CONVERSATION_COMPLETE') {
// Full interview transcript - persist it BEFORE the survey advances.
// This always arrives before END, so the data is safely stored by the
// time your survey continues.
document
.getElementById(frameId)
.setAttribute('conversation_complete_payload', JSON.stringify(event.data.data));
}
if (event.data.type === 'END') {
// Interview completed and transcript delivered - continue survey
const questionNumber = frameId.replace('telletFrame', '');
document.getElementById('q' + questionNumber).click();
}
if (event.data.type === 'OUTPUT') {
// Return stored iframe attributes to Tellet
const attributes = {};
Array.from(document.getElementById(frameId).attributes).forEach((attr) => {
attributes[attr.name] = attr.value;
});
document.getElementById(frameId).contentWindow.postMessage(attributes, '*');
}
});
</script>
Script functions:
- Listens for messages from Tellet
- Stores interview progress on iframe
- Triggers survey continuation when complete
- Maintains session state across page refreshes
Component 3: Survey Continuation Trigger
Hidden checkbox/button that script clicks to continue:
<input type="checkbox" id="q1" name="q1" value="completed" style="display:none;" />
ID pattern: q + iframe number
telletFrame1āq1telletFrame2āq2
URL Parameters
Standard Parameters
participant_idā Purpose: Unique respondent identifier; Example:participant_id={{RESP_ID}}; Required: Yeslanguageā Purpose: Interview language; Example:language=Spanish; Required: RecommendedskipConsentā Purpose: Skip consent screen; Example:skipConsent=true; Required: Recommendedsourceā Purpose: Survey platform identifier; Example:source=dimensions; Required: Optionalenvironmentā Purpose: Test mode (responses kept separate from real results); Example:environment=sandbox; Required: Testing onlyinputMethodsā Purpose: Override allowed response input methods (comma-separated); Example:inputMethods=text,audio; Required: Optional
inputMethods is a chat configuration parameter ā like language and skipConsent, it shapes how the interview is presented to the participant. When set, it overrides the input methods configured on the project (text / voice / video / image) for this specific session. This affects:
- Which input buttons appear in the chat UI
- The wording on the consent screen (e.g. "we will record your voice" vs text-only)
- How the interview behaves for the rest of that session
Parameter name note: The URL parameter is
inputMethods(plural, with trailings). The per-message fieldinputMethod(singular) returned in theCONVERSATION_COMPLETEpayload is a different thing ā see the CONVERSATION_COMPLETE section below. UsinginputMethod(singular) as a URL parameter has no effect.
Accepted values: text, audio, video, image. The alias voice is accepted and mapped to audio. Values are case-insensitive. Invalid values are silently dropped; if none remain the parameter is ignored and the project's configured input methods are used.
Examples:
inputMethods=textā text-only responsesinputMethods=text,audioā text and voiceinputMethods=voiceā same asinputMethods=audio
Note: Unlike source and language, inputMethods is applied client-side to configure the chat session ā it is not stored as a structured metadata field on the conversation record. Use source to tag the conversation in the dashboard.
Custom Parameters
Pass survey data to personalise interview:
scoreā Purpose: Prior rating/score; Example:score=3segmentā Purpose: Customer segment; Example:segment=premiumproductā Purpose: Product name; Example:product=iPhone%2015storeā Purpose: Location; Example:store=Tescodateā Purpose: Reference date; Example:date=2025-02-03
Platform Variable Syntax
- Dimensions ā Syntax:
[%VARIABLE%]; Example:participant_id=[%ResponseID%] - Decipher ā Syntax:
<#VARIABLE#>; Example:participant_id=<#RUID#> - Forsta ā Syntax:
<%VARIABLE%>; Example:participant_id=<%RSP_ID%>
URL Encoding
- Space ā Encoded:
%20; Example Original:iPhone 15; Example Encoded:iPhone%2015 - Parentheses ā Encoded:
%28%29; Example Original:(256GB); Example Encoded:%28256GB%29 - Plus ā Encoded:
%2B; Example Original:C++; Example Encoded:C%2B%2B - Ampersand ā Encoded:
%26; Example Original:A&B; Example Encoded:A%26B
Dynamic Variables
The %%variableName%% Syntax
Insert placeholders in Tellet questions that get replaced with URL parameter values.
Example:
- Tellet question:
"Thank you for rating us %%score%%. Can you tell me more about your experience at %%store%%?" - URL:
?score=3&store=Tesco - Participant sees:
"Thank you for rating us 3. Can you tell me more about your experience at Tesco?"
Use Cases
- NPS follow-up ā Tellet Question:
"You gave us a %%score%%. What was the main reason?"; URL Parameters:?score=3; Result:"You gave us a 3. What was the main reason?" - Product feedback ā Tellet Question:
"How would you improve the %%product%%?"; URL Parameters:?product=iPhone%2015; Result:"How would you improve the iPhone 15?" - Location-specific ā Tellet Question:
"Thinking about %%store%% on %%date%%, what stood out?"; URL Parameters:?store=Tesco&date=2024-02-15; Result:"Thinking about Tesco on 2024-02-15, what stood out?"
Setup
- Add parameters to iframe URL:
?score={{Q1}}&store={{Q5}} - Use
%%parameterName%%in Tellet questions:"You rated %%product%% a %%score%%. Why?" - Test with real URL to verify replacement
Fallback: If a variable isn't provided, Tellet strips the %% markers and leaves the bare placeholder word in the question text (e.g., %%store%% becomes store). Always provide all referenced variables so participants never see a leftover placeholder word.
PostMessage API
Message Types Overview
Tellet uses the browser's PostMessage API to communicate between the embedded iframe and the parent survey page. Tellet supports both legacy and enhanced message types for maximum compatibility.
- STATUS_CHANGE ā Direction: Tellet ā Survey; Purpose: Real-time status updates; When Fired: Every status change
- CONVERSATION_COMPLETE ā Direction: Tellet ā Survey; Purpose: Full conversation data; When Fired: Interview completion
- DIGEST_READY ā Direction: Tellet ā Survey; Purpose: AI analysis results; When Fired: After digest generation
- END ā Direction: Tellet ā Survey; Purpose: Signals completion (legacy); When Fired: Interview completion
- INPUT ā Direction: Tellet ā Survey; Purpose: Store data dynamically; When Fired: Various events
- OUTPUT ā Direction: Survey ā Tellet; Purpose: Request stored data; When Fired: On demand
Enhanced Message Types
The following message types provide rich, real-time data for survey integrations:
1. STATUS_CHANGE
Purpose: Real-time updates as the conversation progresses through different states.
When Fired:
- Conversation starts (initiated ā in_progress)
- Each question is answered (progress updates)
- Conversation completes (in_progress ā done)
- Digest completes (done ā digested)
Data Structure:
{
"type": "STATUS_CHANGE",
"data": {
"status": "in_progress", // Current conversation status
"conversationId": "67c84d28...", // Unique conversation ID
"timestamp": "2025-01-09T12:45:30.123Z", // ISO 8601 timestamp
"progress": {
"count": 3, // Questions answered
"limit": 10, // Total questions
"done": false // Completion status
}
}
}
Possible Status Values:
prescreening- Screening questions in progressprescreening_failed- Did not pass screeninginitiated- Conversation createdin_progress- Participant answering questionsdone- All questions answeredanalyzing- AI digest generation in progressdigested- AI analysis completeabandoned- Participant left without completing
Example Usage:
window.addEventListener('message', (event) => {
if (event.data.type === 'STATUS_CHANGE') {
const { status, progress } = event.data.data;
// Update progress bar in survey
updateProgressBar(progress.count, progress.limit);
// Log status for analytics
console.log(`Interview ${status}: ${progress.count}/${progress.limit}`);
}
});
2. CONVERSATION_COMPLETE
Purpose: Provides complete conversation data when the interview finishes, including all messages and metadata.
When Fired: Immediately after the interview completes. It always fires BEFORE the legacy END message, so the full transcript is in your page's hands before anything reacts to END (such as advancing the survey).
Data Structure:
{
"type": "CONVERSATION_COMPLETE",
"data": {
"conversationId": "67c84d28...",
"status": "done",
"metadata": {
"participant_id": "ABC123",
"language": "English",
"source": "yourPanel",
// ... other custom parameters
// Note: Sensitive fields (email, password, token, secret, key) are automatically sanitized
},
"messages": [
{
"role": "assistant",
"text": "Hello! How can I help?",
"created_at": "2025-01-09T12:00:00.000Z",
"inputMethod": "text",
"hasMedia": false
},
{
"role": "user",
"text": "I need assistance",
"created_at": "2025-01-09T12:00:15.000Z",
"inputMethod": "speech",
"hasMedia": true,
"mediaType": "audio"
// Note: Media URLs are NOT included for security/size reasons
}
],
"createdAt": "2025-01-09T11:55:00.000Z",
"startedAt": "2025-01-09T11:59:00.000Z",
"finishedAt": "2025-01-09T12:10:00.000Z",
"question_index": 5,
"digest": {
// Optional: only present when conversation is already DIGESTED at the
// time CONVERSATION_COMPLETE fires (e.g. when re-opening a completed
// interview). Normally the digest arrives later via DIGEST_READY.
"summary": "...",
"themes": ["..."],
"opportunities": ["..."],
"quotes": [{ "quote": "...", "score": 85 }]
}
}
}
Field notes:
messages[].inputMethod(singular) ā how the participant provided this message:text,speech,video, orimage. This is the per-message field and is distinct from theinputMethods(plural) URL parameter used to restrict which methods participants may use.messages[].hasMedia/mediaTypeā indicate whether media was recorded (audio,video,image). The actual media URLs are intentionally omitted from postMessage payloads for size/security reasons; retrieve them via the Tellet dashboard or export.createdAt/startedAt/finishedAtā ISO 8601 strings, ornullwhen a timestamp is not available (including fallback payloads). Always guard before parsing:data.finishedAt ? new Date(data.finishedAt) : null.errorā present only when the transcript could not be loaded in-browser. In that casemessagesis empty andmetadatacontains only the identifiers from the interview URL (such asparticipant_id); check this field before treating the payload as a real transcript, and retrieve the conversation byconversationIdfrom the Tellet dashboard or export instead.- Payload size: long interviews can produce transcripts of tens of kilobytes. Browsers handle large attribute values fine, but some survey platforms cap the data you can store per question/attribute ā for long interviews prefer storing the payload in a hidden form field or posting it to your own backend instead of an iframe attribute.
Security Features:
- ā Sensitive metadata fields automatically removed (email, password, token, secret, key)
- ā Media URLs excluded (only transcription text included)
- ā Only user/assistant messages included (system messages filtered out)
Example Usage:
window.addEventListener('message', (event) => {
if (event.data.type === 'CONVERSATION_COMPLETE') {
const { conversationId, messages, metadata, startedAt, finishedAt } = event.data.data;
// Store conversation ID for later retrieval
document.getElementById('conversationId').value = conversationId;
// Count messages by type
const userMessages = messages.filter((m) => m.role === 'user').length;
console.log(`Participant sent ${userMessages} responses`);
// Send to your analytics
sendToAnalytics({
participant_id: metadata.participant_id,
message_count: messages.length,
duration: calculateDuration(startedAt, finishedAt),
});
}
});
3. DIGEST_READY
Purpose: Provides AI-generated analysis and insights when the conversation digest completes (a short time after the interview finishes).
When Fired: After the conversation is analysed by AI (fires AFTER CONVERSATION_COMPLETE).
Data Structure:
{
"type": "DIGEST_READY",
"data": {
"conversationId": "67c84d28...",
"summary": "Participant expressed frustration with slow support response times.",
"themes": [
"Customer Support",
"Response Time",
"User Frustration"
],
"opportunities": [
"Improve response automation",
"Add self-service options"
],
"quotes": [
{
"quote": "The support takes too long to respond",
"score": 85
},
{
"quote": "I wish there were more self-help resources",
"score": 70
}
]
}
}
Example Usage:
window.addEventListener('message', (event) => {
if (event.data.type === 'DIGEST_READY') {
const { summary, themes, opportunities } = event.data.data;
// Display key insights to survey admin
console.log('AI Summary:', summary);
console.log('Themes:', themes.join(', '));
// Store for later analysis
document.getElementById('digest').value = JSON.stringify(event.data.data);
}
});
Event Sequence
When a participant completes an interview, events fire in this order:
1. STATUS_CHANGE (in_progress) - Multiple times as questions are answered
2. STATUS_CHANGE (done) - Interview complete
3. CONVERSATION_COMPLETE - Full conversation data
4. END - Legacy message (backward compatibility) - safe to advance the survey
5. STATUS_CHANGE (analyzing) - AI digest started
6. STATUS_CHANGE (digested) - Analysis complete (a short while later)
7. DIGEST_READY - AI insights available
Ordering guarantee: CONVERSATION_COMPLETE always fires before END. Persist the transcript payload in your CONVERSATION_COMPLETE handler; by the time your END handler advances the survey, the data is already stored. In the rare case the transcript cannot be loaded, CONVERSATION_COMPLETE still fires with messages: [] and an error field, followed by END ā store the conversationId and retrieve the transcript from the Tellet dashboard or export instead.
Legacy Message Types
These message types remain supported for backward compatibility:
INPUT Messages
Tellet sends INPUT messages to set attributes on the iframe dynamically. Your survey can store conversation-specific data this way.
{
"type": "INPUT",
"data": {
"conversation_id": "abc123",
"progress": "3/10"
}
}
END Messages
Simple completion signal. It fires after CONVERSATION_COMPLETE ā when END arrives, the transcript has already been delivered, so it is safe to advance the survey.
{
"type": "END"
}
Default Handler:
if (event.data.type === 'END') {
const questionNumber = frameId.replace('telletFrame', '');
document.getElementById('q' + questionNumber).click();
}
OUTPUT Messages
When Tellet requests stored data, respond with iframe attributes.
if (event.data.type === 'OUTPUT') {
const attributes = {};
Array.from(document.getElementById(frameId).attributes).forEach((attr) => {
attributes[attr.name] = attr.value;
});
document.getElementById(frameId).contentWindow.postMessage(attributes, '*');
}
Complete Communication Script
<script>
window.addEventListener('message', (event) => {
let frameId = null;
const iframes = window.document.getElementsByTagName('iframe');
// Identify which iframe sent the message
for (let i = 0; i < iframes.length; i++) {
if (event.source === iframes[i].contentWindow) {
frameId = iframes[i].id;
break;
}
}
if (!frameId) return;
// ===== ENHANCED MESSAGE TYPES =====
// Real-time status updates
if (event.data.type === 'STATUS_CHANGE') {
const { status, progress, conversationId } = event.data.data;
console.log(`Status: ${status}, Progress: ${progress.count}/${progress.limit}`);
// Update your UI with progress information
}
// Complete conversation data - fires BEFORE END, so persist it here and
// it is guaranteed to be stored before your survey advances
if (event.data.type === 'CONVERSATION_COMPLETE') {
const { conversationId, messages, error } = event.data.data;
console.log(`Conversation ${conversationId} complete with ${messages.length} messages`);
// Persist the payload where your survey platform can read it back,
// e.g. as an attribute on the iframe or in a hidden form field:
document
.getElementById(frameId)
.setAttribute('conversation_complete_payload', JSON.stringify(event.data.data));
if (error) {
// Transcript could not be loaded in-browser; store conversationId and
// retrieve the conversation from the Tellet dashboard or export.
console.warn(`Transcript unavailable in-browser for ${conversationId}: ${error}`);
}
}
// AI-generated insights
if (event.data.type === 'DIGEST_READY') {
const { summary, themes, opportunities, quotes } = event.data.data;
console.log('AI Summary:', summary);
// Display or store analysis results
}
// ===== LEGACY MESSAGE TYPES (Backward Compatibility) =====
if (event.data.type === 'INPUT') {
for (const [attr, value] of Object.entries(event.data.data)) {
document.getElementById(frameId).setAttribute(attr, value);
}
}
if (event.data.type === 'END') {
// CONVERSATION_COMPLETE has already been delivered at this point -
// safe to advance the survey
const questionNumber = frameId.replace('telletFrame', '');
document.getElementById('q' + questionNumber).click();
}
if (event.data.type === 'OUTPUT') {
const attributes = {};
Array.from(document.getElementById(frameId).attributes).forEach((attr) => {
attributes[attr.name] = attr.value;
});
document.getElementById(frameId).contentWindow.postMessage(attributes, '*');
}
});
</script>
Migration from Legacy to Enhanced Messages
Good news: No migration needed! The enhanced message types are additive only.
Backward Compatibility:
- ā
Legacy
ENDmessage still fires on completion (afterCONVERSATION_COMPLETE, so the transcript is always delivered before your survey advances) - ā
INPUT/OUTPUTmessages continue to work - ā Existing integrations work unchanged
- ā New message types can be adopted gradually
Recommended Adoption Path:
- Phase 1: Keep existing END handler for survey continuation
- Phase 2: Add STATUS_CHANGE listener for progress tracking
- Phase 3: Add CONVERSATION_COMPLETE listener for data capture
- Phase 4: Add DIGEST_READY listener for AI insights
Consent Screen Behaviour
- Full Consent ā URL Parameters: None; Language Selector: Shown; Accept Terms: Shown; Use Case: Standalone interviews
- Language Pre-Set ā URL Parameters:
?language=Spanish; Language Selector: Hidden; Accept Terms: Shown; Use Case: Language known, need consent - Consent Pre-Accepted ā URL Parameters:
?skipConsent=true; Language Selector: Shown; Accept Terms: Hidden; Use Case: Consent in survey, language varies - Skip Entirely (Recommended) ā URL Parameters:
?language=Spanish&skipConsent=true; Language Selector: Hidden; Accept Terms: Hidden; Use Case: Survey embedding
Recommendation: Use ?language=Spanish&skipConsent=true for survey embedding since participants already consented to survey.
iFrame Sizing
Recommended Heights
- Text-only: 600px
- Voice: 650px
- Video: 800px
- Multi-question: 900px+
Responsive Width
style="width: 100%; height: 600px; border: none;"
Multiple iFrames
<!-- Interview 1 -->
<iframe id="telletFrame1" src="...PROJECT_ID_1..."></iframe>
<input type="checkbox" id="q1" style="display:none;" />
<!-- Interview 2 -->
<iframe id="telletFrame2" src="...PROJECT_ID_2..."></iframe>
<input type="checkbox" id="q2" style="display:none;" />
<!-- Communication script (once per page) -->
<script>
window.addEventListener('message', (event) => {
// ... same script as before ...
});
</script>
Requirements:
- Increment iframe IDs:
telletFrame1,telletFrame2 - Match checkbox IDs:
q1,q2 - Include script only once per page
Testing
Essential Tests
Basic functionality:
- iframe loads without errors
- Interview starts correctly
- Text/voice/video responses work
- Survey continues automatically
- Participant ID captured
Edge cases:
- Page refresh mid-interview
- Browser back/forward navigation
- iframe load failures
- JavaScript disabled
Cross-browser/device:
- Chrome/Edge, Firefox, Safari
- Desktop, tablet, mobile
Sandbox Mode
Always test with ?environment=sandbox:
- Test responses don't appear in real data
- Unlimited testing
- Debug without affecting production
Critical: Remove environment=sandbox for live surveys.
Data Access
In Tellet
- Transcripts with metadata filtering
- AI-powered thematic analysis
- Sentiment analysis
- CSV export with all metadata
Linking Data
Join datasets using participant_id:
Survey Platform: ResponseID: ABC123, Q1_Score: 3, Q2_Segment: Premium
Tellet Export: participant_id: ABC123, conversation_text: "I rated 3 because...", plus the AI summary and categories
Join on: ResponseID = participant_id
Troubleshooting
- iframe doesn't load ā Symptoms: Blank space; Solutions: Verify 24-char project ID, ensure published, check browser console (F12), verify platform allows iframes
- Survey doesn't continue ā Symptoms: Stuck after completion; Solutions: Add communication script, match iframe/checkbox IDs (
telletFrame1āq1), check JavaScript errors - Consent screen shows ā Symptoms: Language selector or terms appear; Solutions: Add
?skipConsent=true&language=English, verify URL formatting - Video/audio fails ā Symptoms: Can't record media; Solutions: Add
allow="camera; microphone; autoplay;", use HTTPS, check browser permissions - Transcript missing from captured data ā Symptoms: Captured results contain only iframe attributes (some
"null"), no Q&A JSON; Solutions: Persist theCONVERSATION_COMPLETEpayload in your message handler (see Complete Communication Script) ā the transcript is delivered only via that event, never via the iframe attributes.CONVERSATION_COMPLETEalways arrives beforeEND, so store it before advancing the survey "null"values in iframe attributes ā Symptoms: Keys likechat_settings,current_project_language,screening_stateshow the string"null"; Solutions: This is normal: Tellet clears its session storage when the interview completes, and the cleanup writes arrive asnullvalues. It is a sign the interview finished ā not an error. Capture the transcript viaCONVERSATION_COMPLETEinstead
Security
HTTPS Required
Browser policies require HTTPS for camera/microphone access. Ensure survey platform uses HTTPS.
Content Security Policy (CSP)
Some platforms may block iframes. Check browser DevTools Console for CSP errors. Contact platform to whitelist chat.tellet.ai.
Data Privacy (GDPR)
- Don't pass personal data (names, emails, phone numbers) in URLs
- Do pass anonymous IDs, scores, segments
- Use anonymous
participant_id - Store personal data only in survey platform
Common Use Cases
NPS Follow-Up
- Q1: Rate 0-10
- Q2: [If <=6] Detractor interview OR [If >=9] Promoter interview
- URL:
?participant_id={{ID}}&score={{Q1}}&skipConsent=true&language=English
Mixed-Method Brand Study
- Q1-10: Quantitative questions
- Q11: Tellet perception interview
- Q12-20: More quantitative questions
- Benefit: Single session with linked quant + qual data
Multi-Language Global Study
- Q1: Select language
- Q2: Tellet interview in selected language
- URL:
?language={{Q1}}&skipConsent=true&participant_id={{ID}}
Technical Summary
Required Components
- iFrame code with project ID
- Communication script (once per page)
- Hidden continuation trigger
Required Parameters
participant_id- Unique respondent identifierlanguage- Interview language (recommended)skipConsent=true- Skip consent screen (recommended)
Optional Features
- Custom parameters for personalisation
- Dynamic variables using
%%variableName%% - Multiple iframes per page
- Sandbox mode for testing
Data Flow
- Survey passes data via URL parameters
- Tellet communicates via PostMessage API
- Data links via
participant_id - Export from both systems and join
