Personality
Configuration
JSON
{
"options": {
"tags": [
{
"id": 1,
"name": "italy"
},
{
"id": 2,
"name": "japan"
},
{
"id": 3,
"name": "pizza"
},
{
"id": 4,
"name": "pasta"
},
{
"id": 5,
"name": "ossobucco"
},
{
"id": 6,
"name": "lasagna"
},
{
"id": 7,
"name": "sushi"
},
{
"id": 8,
"name": "ramen"
}
],
"questions": {
"en": [
{
"id": 1,
"question": "1. What do you prefer?",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": "",
"rows": 1,
"cols": 2,
"min": 1,
"max": 1,
"answers": [
{
"id": 1,
"tags": [1],
"next": 2,
"image": "",
"text": "Italian cuisine"
},
{
"id": 2,
"tags": [2],
"next": 3,
"image": "",
"text": "Japanese cuisine"
}
],
"explanation": []
},
{
"id": 2,
"question": "2A. What do you prefer? (2 answers possible)",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": -1,
"rows": 2,
"cols": 2,
"min": 1,
"max": 2,
"answers": [
{
"id": 1,
"tags": [3],
"next": "",
"image": "",
"text": "Pizza"
},
{
"id": 2,
"tags": [4],
"next": "",
"image": "",
"text": "Pasta"
},
{
"id": 3,
"tags": [3],
"next": "",
"image": "",
"text": "Osso Bucco"
},
{
"id": 4,
"tags": [4],
"next": "",
"image": "",
"text": "Lasagne"
}
],
"explanation": []
},
{
"id": 3,
"question": "2B. What do you prefer?",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": -1,
"rows": 1,
"cols": 2,
"min": 1,
"max": 1,
"answers": [
{
"id": 1,
"tags": [7],
"next": "",
"image": "",
"text": "Sushi"
},
{
"id": 2,
"tags": [8],
"next": "",
"image": "",
"text": "Ramen"
}
],
"explanation": []
}
],
"fr": [
{
"id": 1,
"question": "1. Que préférez-vous ?",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": "",
"rows": 1,
"cols": 2,
"min": 1,
"max": 1,
"answers": [
{
"id": 1,
"tags": [1],
"next": 2,
"image": "",
"text": "Cuisine italienne"
},
{
"id": 2,
"tags": [2],
"next": 3,
"image": "",
"text": "Cuisine japonaise"
}
],
"explanation": []
},
{
"id": 2,
"question": "2A. Que préférez-vous ? (2 réponses possibles)",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": -1,
"rows": 2,
"cols": 2,
"min": 1,
"max": 2,
"answers": [
{
"id": 1,
"tags": [3],
"next": "",
"image": "",
"text": "Pizza"
},
{
"id": 2,
"tags": [4],
"next": "",
"image": "",
"text": "Pâtes"
},
{
"id": 3,
"tags": [3],
"next": "",
"image": "",
"text": "Osso Bucco"
},
{
"id": 4,
"tags": [4],
"next": "",
"image": "",
"text": "Lasagne"
}
],
"explanation": []
},
{
"id": 3,
"question": "2B. Que préférez-vous ?",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": -1,
"rows": 1,
"cols": 2,
"min": 1,
"max": 1,
"answers": [
{
"id": 1,
"tags": [7],
"next": "",
"image": "",
"text": "Sushi"
},
{
"id": 2,
"tags": [8],
"next": "",
"image": "",
"text": "Ramen"
}
],
"explanation": []
}
],
"nl": [
{
"id": 1,
"question": "1. Waar geef je de voorkeur aan?",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": "",
"rows": 1,
"cols": 2,
"min": 1,
"max": 1,
"answers": [
{
"id": 1,
"tags": [1],
"next": 2,
"image": "",
"text": "Italiaanse keuken"
},
{
"id": 2,
"tags": [2],
"next": 3,
"image": "",
"text": "Japanse keuken"
}
],
"explanation": []
},
{
"id": 2,
"question": "2A. Waar geef je de voorkeur aan? (2 mogelijke antwoorden)",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": -1,
"rows": 2,
"cols": 2,
"min": 1,
"max": 2,
"answers": [
{
"id": 1,
"tags": [3],
"next": "",
"image": "",
"text": "Pizza"
},
{
"id": 2,
"tags": [4],
"next": "",
"image": "",
"text": "Pasta"
},
{
"id": 3,
"tags": [3],
"next": "",
"image": "",
"text": "Osso Bucco"
},
{
"id": 4,
"tags": [4],
"next": "",
"image": "",
"text": "Lasagne"
}
],
"explanation": []
},
{
"id": 3,
"question": "2B. Waar geef je de voorkeur aan?",
"question_color": "white",
"question_background_color": "black",
"answer_color": "white",
"answer_background_color": "rgba(0, 0, 0, .75)",
"next": -1,
"rows": 1,
"cols": 2,
"min": 1,
"max": 1,
"answers": [
{
"id": 1,
"tags": [7],
"next": "",
"image": "",
"text": "Sushi"
},
{
"id": 2,
"tags": [8],
"next": "",
"image": "",
"text": "Ramen"
}
],
"explanation": []
}
]
},
"use_images": true,
"use_explanation": false,
"use_recommandation": false,
"recommandation_products": 4,
"recommandation_rows": 2,
"recommandation_cols": 2,
"products": {
"en": [
{
"name": "Lucky Cycle",
"url": "https://www.lucky-cycle.com/en?utm_source=lck_demo",
"image": "",
"tags": [1, 2, 3, 4, 5, 6, 7, 8]
}
],
"fr": [
{
"name": "Lucky Cycle",
"url": "https://www.lucky-cycle.com/fr?utm_source=lck_demo",
"image": "",
"tags": [1, 2, 3, 4, 5, 6, 7, 8]
}
],
"nl": [
{
"name": "Lucky Cycle",
"url": "https://www.lucky-cycle.com/nl?utm_source=lck_demo",
"image": "",
"tags": [1, 2, 3, 4, 5, 6, 7, 8]
}
]
},
"redirect": false
},
"texts": {
"en": {
"good": "Correct!",
"bad": "Nope!",
"confirm": "Confirm",
"next": "Next question",
"end": "Continue",
"redirect": "Next page"
},
"fr": {
"good": "Correct !",
"bad": "Non !",
"confirm": "Je valide",
"next": "Question suivante",
"end": "Continuer",
"redirect": "Page suivante"
},
"nl": {
"good": "Correct!",
"bad": "Fout!",
"confirm": "Bevestigen",
"next": "Volgende vraag",
"end": "Doorgaan",
"redirect": "Volgende pagina"
}
},
"images": {}
}Options
Int / String
Tags used to create a persona of the player (name is only used in data extracts).
1 / "italy"
Int
Id of the question (used for redirection, should be unique).
1
String
Question displayed to the player.
"1. What do you prefer?"
String
Color and background color of the question.
"white" / "black"
String
Color and background color of the answers to the question.
"white" / "rgba(0, 0, 0, .75)"
Int (or String if empty...)
Target - id of the next question (should only be used if answers don't have a target of their own).
""
Int
Layout of the answers for the current question.
1 / 2
Int
Number of answers that can be selected (should use next if multiple answers).
1 / 1
Int
Id of the answer (should be unique per question).
1
Array
Tag(s) associated to the answer (uses ids, not names).
[1]
Int
Target - id of the next question (should only be used if question don't have a target of its own).
2
String
Visual to be displayed as background of the answer.
/
String
Text to be displayed for the answer.
"Italian cuisine"
String
Explanation of the answer to the question.
/
Boolean
Display images for the answers.
true
Boolean
Display explanation after each question (if not empty).
false
Boolean
Display products at the end of the game based on tags.
false
Int
Number of products to be displayed (if use_recommandation set to true).
4
Int
Layout of the products page (if use_recommandation set to true).
2 / 2
String
Text to be displayed for a product.
"Lucky Cycle"
String
URL to be added to a product (will redirect on click).
"https://..."
String
Visual to be displayed for a product.
/
Array
Tags associated to a product (used for selection).
[1,2,...]
Boolean
In use_recommandation mode, adds a button allowing the player to continue the pages flow.
false
String
Title of the explanation screen (if use_explanation set to true).
"Correct!" / "Nope!"
String
CTA displayed on a question page if more than one answer can be selected.
"Confirm"
String
CTA displayed on the explanation page if this question isn't the last one (and use_explanation is set to true).
"Next question"
String
CTA displayed on the explanation page if this question is the last one (and use_explanation is set to true).
"Continue"
String
CTA displayed on the products page (if redirect is set to true).
"Next page"
Assets
/
Background of the answer.
/
/
Visual of the product (if use_recommandation is set to true).
/
Last updated