Event payload shape
When sending analytics events, you have control over the shape of the payload received by the destination.
The following integrations can send analytics events:
Google
Content included
Send answers
By default, answers are not included in analytics event payloads. This way, analytics providers can be used for tracking conversion and performance, without sending user data to third parties.
If send answers is checked, answer values will be sent as well.
Send PII
If send answers is enabled, send PII will also send Personally Identifying Information along to the analytics provider. Answers are marked as PII using the data classification in the schema editor.
Only send answers from current step
If only send answers from current step is enabled, the payload will only contain answers to questions that appear on the current step.
When sending answers from the current step, by default you will not receive any answers that are present at the beginning of the flow, such as external answers.
To instead send the current, full state of the flow on load, enable Send all answers on FlowLoaded, which will include the entire answer state in the FlowLoaded event's answer payload.
Shape of payloads
All analytics events will contain the flow label, variant label, variant revision UUID, and responder UUID.
Answers at root
With answers at root checked, all the answer keys will be at the same level of nesting within the payload object.
If unchecked, the answers will be nested within an answers
object.
Flatten answer keys
With flatten answer keys checked, nested answers, like arrays and objects, will be at the same level of nesting as all other answers:
With flatten answer keys unchecked, nested answers will remain in their original, nested shape.
Stringify answers
When stringify answers is checked, the answers
key itself will be a JSON string of the answers, rather than the nested object.
Last updated