Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"event_type": "survey_response",
"survey_response": {
"completed_at": "2018-02-11T04:25:46Z",
"survey": {
"id": "5a7fc5cab3801f005700003f",
"questions": [
{
"id": "5a7fc5cab3801f005700003c",
"company_id": "5a7fc5cab3801f0057000037",
"question_type": "select",
"prompt": "Before you go, what's your primary reason for not purchasing today?",
"options_version": 2,
"options": {
"labels": [
{
"label": "Just Browsing",
"value": "just_browsing"
},
{
"label": "Too expensive",
"value": "too_expensive"
},
{
"label": "Going to purchase later",
"value": "going_to_purchase_later"
},
{
"label": "Not the right style",
"value": "not_the_right_style"
}
],
"other": true
}
},
{
"id": "5a7fc5cab3801f005700003d",
"company_id": "5a7fc5cab3801f0057000037",
"question_type": "rating",
"prompt": "How would you rate your experience overall with our site?",
"options": {
"labels": [
"Excellent",
"Good",
"Average",
"Poor",
"Terrible"
],
"scale": 5,
"type": "excellent"
}
},
{
"id": "5a7fc5cab3801f005700003e",
"company_id": "5a7fc5cab3801f0057000037",
"question_type": "freeform",
"prompt": "Any other feedback for us?",
"options": {
"size": "multi"
}
}
]
},
"responses": [
{
"created_at": "2018-02-11T04:25:46.496046162Z",
"formatted_response": "Going to purchase later",
"id": "5a7fc5cab3801f0057000040",
"question_id": "5a7fc5cab3801f005700003c",
"question_prompt": "Before you go, what's your primary reason for not purchasing today?",
"question_type": "select",
"response": {
"value": "going_to_purchase_later"
},
"user_id": "5a7fc5cab3801f005700003a"
},
{
"created_at": "2018-02-11T04:25:46.496061162Z",
"formatted_response": "Poor",
"id": "5a7fc5cab3801f0057000042",
"question_id": "5a7fc5cab3801f005700003d",
"question_prompt": "How would you rate your experience overall with our site?",
"question_type": "rating",
"response": {
"value": 3
},
"user_id": "5a7fc5cab3801f005700003a"
},
{
"created_at": "2018-02-11T04:25:46.496075762Z",
"formatted_response": "Keep up the great work!",
"id": "5a7fc5cab3801f0057000044",
"question_id": "5a7fc5cab3801f005700003e",
"question_prompt": "Any other feedback for us?",
"question_type": "freeform",
"response": {
"value": "Keep up the great work!"
},
"user_id": "5a7fc5cab3801f005700003a"
}
],
"user": {
"email": "riley.singleton@gmail.com",
"first_name": "Riley",
"id": "5a7fc5cab3801f005700003a",
"last_name": "Singleton"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.