Skip to content

Instantly share code, notes, and snippets.

@jozr
Last active August 27, 2018 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jozr/3d8ec32b85f834e64119514064a596b1 to your computer and use it in GitHub Desktop.
Save jozr/3d8ec32b85f834e64119514064a596b1 to your computer and use it in GitHub Desktop.
# GETtable from:
# /visitor_funnel/placement_test/result
# or
# /funnel/placement_test/result
{
conversation_id: "abc123",
levels_count: 9, # should be offset by -1 considering the index_number
level: {
index_number: 4,
id: "high_intermediate",
title: "High intermediate",
description: "I can handle social situations, even with unforeseen complications. I can provide some detail about personal experiences, as well as topics...",
recommendation: "Create an account to save the results and start your first free lesson."
}
}
@jduthon
Copy link

jduthon commented Aug 27, 2018

We don't want the dialog_template_id, but the actual funnel_conversation_id.
As for the level, if we could include its id it would be great.
Right now we are almost not using it (I need an id in some svg, so I am using it there, but I could use something else).
But eventually the color of the different level could end up being different, and those we would want an id.

  • I feel like globally it kind of makes sense to expose the level id.

@jozr
Copy link
Author

jozr commented Aug 27, 2018

@jduthon We'll just expose it as conversation_id as it doesn't really matter what type of conversation it is.

As for the level.id, we'll expose that as well. Thanks for reviewing again. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment