Configure tracking
Configure before loading the script:
window.ramonConfig = {
sessionId: responseReference,
interviewId: responseReference,
redactKeyboardInput: true,
redactPageUrl: true,
};
| Option | Meaning |
|---|---|
key | Public survey tracking key. Usually passed in the script URL. |
url | Collector API base URL. Defaults to https://api.getramon.com. |
sessionId | UUID used as the Ramon session identifier. |
interviewId | Optional platform response reference emitted with the session. |
redactKeyboardInput | Replaces printable keyboard input with Character. |
redactPageUrl | Sends only the page origin instead of the full URL. |
syncInterval | Accepted configuration value; collection currently flushes on the embed's fixed batch cycle. |
debug | Accepted configuration value; do not rely on it as a production diagnostic surface. |
For maximum linkability, use your response UUID for both sessionId and
interviewId. Use session identity to understand the
embed's fallback behavior.