mbr_cookie_set
Usage
This shortcode sets a client-side cookie variable to a given value. The cookie will expire in 3600 seconds (1 hour) from when it is set by this shortcode.
Parameters
Parameters | Description |
---|---|
name=value | Specifies the name of the cookie variable and the value to set it to. Default: none. Required: yes. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_cookie_set].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
- Example 2
Sets the cookie variable name
to a value of 12345:
[mbr_cookie_set name='12345']
Sets the cookie variable sky
to a value of blue:
[mbr_cookie_set sky='blue']
API
Note
There is currently no ActiveMember360 API function equivalent for this shortcode.