Variables are one of the most powerful (and at the same time least understood) resources within XQuiz, but understanding how to use them will unlock a new level of personalization and automation for your funnel.
Example:Imagine you’re creating a game where you need to store the player’s score. You can create a variable called score and assign an initial value, like 0.score = 0During the game, when the player scores points, you can update the score variable’s value with the new value.This tells the system:“Take the current value of the score and add 10 more.”The score value is now 10.To insert a variable correctly, click the button with the icon in the corner of the field. This opens a small list with all created variables.Click on the desired variable, and it will be added in the correct format, for example:Always separate elements with space, as in the example below:The expression field can perform simple mathematical operations, such as plus, minus, times, and divide (+, -, *, /).Important tips!
Use simple names without spaces. Ex: email, phone, score.