Skip to main content

mbr_is_in_list

Usage

This shortcode determines the content to be included based upon the ActiveCampaign list status of the current logged in user.

Parameters

ParametersDescription
list_idThe ActiveCampaign list ID whose status should be evaluated for the current logged in user. The list_id can be determined in ActiveMember360, Utilities, Lists.
Default: none.
Required: yes.
statusThe list status which is to be evaluated.
>Permitted Values: any, active, unconfirmed, unsubscribed, bounced.
Default: active.
Required: no.

Validity

This shortcode is only evaluated for logged in users who also exist as contacts within ActiveCampaign.

Conditional Branching

[ELSE_is_in_list] conditional branching is supported.

Nesting

Shortcode nesting within is NOT supported.

Examples

Will display "You are currently subscribed to our Advanced list." if the current logged in users status for the ActiveCampaign list with ID 23 is active(subscribed). Otherwise "You are not currently subscribed to our Advanced list." will be displayed:

[mbr_is_in_list list_id='23']
You are currently subscribed to our Advanced list.
[ELSE_is_in_list]
You are not currently subscribed to our Advanced list.
[/mbr_is_in_list]

API

Note

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