Usage:

This shortcode is designed to segment content on a page, post, excerpt or text widget by displaying the embedded content to all contacts except to those contacts whose memberships or ActiveCampaign contact ID’s match the criteria passed as parameters. There are three variants, depending on the parameters used.

[ELSE_not_for] conditional branching is supported.

Shortcode nesting is supported:
[mbr_not_for1] thru [mbr_not_for9]
[ELSE_not_for1] thru [ELSE_not_for19]

Parameters:

tags One or more tag ID’s or tag NAMES taken from ActiveCampaign. If more than one is entered, please separate with commas.
Default: none.
Required: yes, if contact ID’s are not passed.
only_cid One or more contact ID’s taken from ActiveCampaign. If more than one is entered, please separate with commas.
Default: none.
Required: yes, if tag ID’s are not passed.
exclude_tags One or more ActiveCampaign tag ID’s or tag NAMES to be excluded. If more than one is entered, please separate with commas.
Default: none.
Required: no.
exclude_cid One or more ActiveCampaign contact ID’s to be excluded. If more than one is entered, please separate with commas.
Default: none.
Required: yes, if tag ID’s are not passed.
require_all_tags Specifies whether ALL tags must be present in order to satisfy the “IF” condition.
Default: none.
Required: no.

Example:

Based on ActiveCampaign tag ID’s or tag NAMES:

[mbr_not_for tags='123,456,MY TAG NAME']
  content-content-content
[ELSE_not_for]
  alternate-content-alternate-content
[/mbr_not_for]

Based on ActiveCampaign contact ID:

[mbr_not_for only_cid='4321,6543,9876']
  content-content-content
[ELSE_not_for]
  alternate-content-alternate-content
[/mbr_not_for]

Based on both ActiveCampaign contact ID’s and tag ID’s or tag NAMES:

[mbr_not_for only_cid='4321,6543,9876' tags='123,456,789']
  content-content-content
[ELSE_not_for]
  alternate-content-alternate-content
[/mbr_not_for]

Based on ActiveCampaign tag ID but excluding anyone with a specific tag ID:

[mbr_not_for tags='234,789' exclude_tags='456']
  content-content-content
[ELSE_not_for]
  alternate-content-alternate-content
[/mbr_not_for]

Based on ActiveCampaign tag ID but excluding anyone with a specific contact ID:

[mbr_not_for tags='234,789' exclude_cid='456']
  content-content-content
[ELSE_not_for]
  alternate-content-alternate-content
[/mbr_not_for]

When nesting [mbr_is_for] or [mbr_not_for] shortcodes within one another, add a number to reflect the nesting level:

[mbr_not_for1 tags='987,654,MY TAG NAME 2']
  [mbr_is_for2 tags='123,456,MY TAG NAME']
    content-content-content
  [ELSE_is_for2]
    alternate-content-alternate-content
  [/mbr_is_for2]
[/mbr_not_for1]

API:

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