Skip to main content

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

ParametersDescription
name=valueSpecifies 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

Sets the cookie variable name to a value of 12345:

[mbr_cookie_set name='12345']

API

Note

There is currently no ActiveMember360 API function equivalent for this shortcode.