Links

Variables in Settings

Use the Settings > Variables page to add/remove Custom Variables, Global Variables and Autogenerated Variables.
Global variables have to be first defined in workspace settings before you can add them to your experience from the Settings > Variables page
Settings > Variables page
Learn more about Variables here:

Autogenerated Variables

Autogenerated Variables
Some variables are generated automatically when you create an experience. These variables are immutable - their values cannot be changed using rules.
Autogenerated Variables
List of auto-generated Variables:

score

score - This is a special number variable that's used to generate the leaderboard in the analytics section. Use this to store any overall score you may have in the experience.

lang

lang - The lang variable can be used by enabling the Show Language Screen option in the settings section. To add languages, go to the Languages tab inside Splash Screen. This variable will hold the value of the language selected by the viewer.

v_identifier_var

v_identifier_var - A unique ID to identify each viewer who views the experience. This can be viewed in the analytics page. Can be email/name etc. - depends on the authentication mechanism used in the Deployment section.

firstname_var

firstname_var - A string variable that contains the first name of the user if we get it from the authentication mechanism.

lastname_var

lastname_var - A string variable that contains the first name of the user if we get it from the authentication mechanism.

fullname_var

fullname_var - A string variable that contains the full name of the user if we get it from the authentication mechanism.

device_var

device_var - Holds information about the viewer device type. Possible values: d,m,h.
  • d -> Desktop
  • m -> Mobile
  • h -> Headset

vrmode_var

vrmode_var - Contains TRUE if the user enters VR Mode. Otherwise FALSE. Changes real-time to reflect the current state.

browser_var

browser_var - This variable holds the information on the browser that a viewer uses. For a list of support browsers please check the platform compatibility matrix. Following values will be populated in the browser_var when the viewer views an experience:
Device
Laptop/PC
Browser
Safari
browser_var value
safari
Device
Laptop/PC
Browser
Chrome
browser_var value
chrome
Device
Laptop/PC
Browser
Edge
browser_var value
edge-chromium
Device
iPhone
Browser
Chrome
browser_var value
crios
Device
iPhone
Browser
Safari
browser_var value
ios
Device
Android
Browser
Chrome
browser_var value
chrome
Device
Oculus
Browser
Oculus browser
browser_var value
samsung
Other actions like enabling Lead Generation form fields and adding Media Upload elements can also add auto-generated variables.
Last modified 6mo ago