Get variable building block stores data in the visitor’s browser as a cookie or in local storage. It is useful when you want to store data in the visitor’s browser. Collect and store a value on one page, and use it on another page or session. The Get variable data returns information previously stored by the Set variable data. Every time the event with Get variable is triggered, it will look for the value in the specified cookie or local storage.

Double click or drag the get variable building block to the event data field. Click on the building block to select your options

  1. Variable name: A name of the cookie or local storage intended to be used. The name used here will be same as used in “set variable”. See “help on set variable
  2. Storage: Store the data in a cookie or local storage