Skip to content

i4w_cookie_set

This shortcode is used to set a client-side cookie variable with a given value. This cookie will then be “remembered” during the subscriber’s session on your membership site for the next 3600 seconds (1 hour).

[ELSE_cookie_set] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

ParameterDescriptionDefaultRequired
variable name=valueThe session variable that you wish to define and the corresponding value that should be assigned to it.NoneYes
Shortcode
[i4w_cookie_set myVariable=='12345']