Working With Variables

Data may be written to variables for use during a user session. These variables may also be stored across sessions in the user’s Flash cookie.

See the following tags in the tag glossary: <assign name=”” expr=””/>, <get>, <set>.

In order to call a variable within any tag besides <assign name=”” expr=””/>, <get> and <set>, it must be placed within percent symbols. For example:

<text>%user_email_address%</text>

Variables may be called in this way in any tag (as long as they resolve to a value that’s appropriate for that tag). This is useful to establish default values as well as to help provide a more personalized experience to the user. Some examples:

<font>%title_font%,</font>

<media>%next_video_to_play%</media>

<bg_mp3>%user_favorite_song%</bg_mp3>

<media_end node=”%next_node%”/>

Advertisements
%d bloggers like this: