Overview
Data tags are used to set variables and output results to the content.
Tags
The Value of a Variable may be Integer, Float, Date, or String, and may be defined from a literal (strings must be within double quotes), another variable (set in the template ), date part ($customDate.month), builtin (builtin.today - without preceding $), or Contact or Custom Data ($email, $customString).
The following tables include all Data related Tags.
|
Tag |
|
|
Parameters |
NAME: Alphanumeric string with no spaces or special characters DATE: Literal, Variable, Builtin, Custom Data, Contact Data, or Logical Evaluation string |
|
Output |
Set the value of the variable to the defined Date |
|
Example |
|
|
Result |
12/31/1975 |
|
Example |
|
|
Result |
5/20/2011 |
|
Example |
|
|
Result |
5/20/2011 |
|
Example |
|
|
Result |
1/15/1999 |
|
Example |
|
|
Result |
10/4/2012 |
|
Example |
|
|
Result |
5/31/2011 |
|
|
|
|
Tag |
|
|
Parameters |
NAME: Alphanumeric string with no spaces or special characters INTEGER: Literal, Variable, Date Part, Builtin, Custom Data, Contact Data, or Logical Evaluation string |
|
Output |
Set the value of the variable to the defined Integer |
|
Example |
|
|
Result |
12 |
|
Example |
|
|
Result |
24 |
|
Example |
|
|
Result |
24 |
|
Example |
|
|
Result |
36 |
|
Example |
|
|
Result |
98012 |
|
Example |
|
|
Result |
31 |
|
Example |
|
|
Result |
6 |
|
Example |
|
|
Result |
random number between 12 and 24 |
|
Example |
|
|
Result |
1 |
|
|
|
|
Tag |
|
|
Parameters |
NAME: Alphanumeric string with no spaces or special characters FLOAT: Literal, Variable, Date Part, Builtin, Custom Data, Contact Data, or Logical Evaluation string |
|
Output |
Set the value of the variable to the defined Float |
|
Example |
|
|
Result |
12.25 1.25 |
|
Example |
|
|
Result |
1.25 |
|
Example |
|
|
Result |
17.76 |
|
Example |
|
|
Result |
13.5 |
|
Example |
|
|
Result |
2.33 |
|
|
|
|
Tag |
|
|
Parameter |
NAME: Alphanumeric string with no spaces or special characters STRING: Literal, Variable, Date Part, Builtin, Custom Data, Contact Data, or Logical Evaluation string |
|
Output |
Set the value of the variable to the defined String |
|
Example |
|
|
Result |
Hello World |
|
Example |
|
|
Result |
Hello |
|
Example |
|
|
Result |
World |
|
Example |
|
|
Result |
|
|
Example |
|
|
Result |
December |
|
Example |
|
|
Result |
October |
|
Example |
|
|
Result |
SGVsbG8= |
|
Example |
|
|
Result |
FALSE |
|
|
|
|
Tag |
|
|
Parameters |
VARIABLE: Name of variable value to display |
|
Output |
Output the value of the variable |
|
Example |
|
|
Result |
Print Me |
|
|
|
|
Tag |
|
|
Parameters |
VARIABLE: Name of variable value to display |
|
Output |
Output the value of the variable |
|
Example |
|
|
Result |
Print Me |