Usage:

This shortcode is designed to update fields and/or to assign/remove tags and/or to assign/remove automations and/or to assign/remove list to/from the logged in contact.

This shortcode does NOT support conditional branching with [ELSE_update_contact].
Shortcode nesting is NOT supported:

Parameters:

Tag ID’s vs. tag names:
We encourage the use of tag ID’s over tag names. Unless a tag is deleted, its tag ID can be considered persistent. Tag names, on the other hand, can be changed any time. Using a tag name that has been changed can lead your shortcode, hook or module to no longer work as expected.
contact field = value This can be any regular or custom field of your ActiveCampaign application, e.g. first_name, last_name, phone or my_custom_field, and the corresponding value that should be assigned to it.
Default: none.
Required:no.
assign_tags One or more tag ID’s or tag names taken from ActiveCampaign you wish to assign to this contact. If more than one is entered, please separate with commas.
Default: none.
Required: no.
remove_tags One or more tag ID’s or tag names taken from ActiveCampaign you wish to remove from this contact. If more than one is entered, please separate with commas.
Default: none.
Required: no.
assign_automation One or more automation ID’s taken from ActiveCampaign you wish this contact to assign to. If more than one is entered, please separate with commas.
Default: none.
Required: no.
remove_automation One or more automation ID’s taken from ActiveCampaign you wish this contact to remove from. If more than one is entered, please separate with commas.
Default: none.
Required: no.
subscribe_lists One or more list ID’s taken from ActiveCampaign you wish to subscribe this contact. If more than one is entered, please separate with commas.
Default: none.
Required: no.
unsubscribe_lists One or more list ID’s taken from ActiveCampaign you wish to unsubscribe this contact. If more than one is entered, please separate with commas.
Default: none.
Required: no.
unsubscribe_reason Unsubscribe reason for this request.
Default: “Contact unsubscribed on site http://yoursite.com” (the site URL will be the site on which they unsubscribed)
Required: no.
autocreate_tags If set to ‘yes’, non-existing tags in your ActiveCampaign application will be generated. If a tag does not exist, please specify the tag name of the tag to be created.
Default: yes.
Required: no.

Example:

[mbr_update_contact first_name='John' email='john@example.com' my_custom_field='12345']

[mbr_update_contact first_name='John' my_custom_field='12345' assign_tags='123,My Tag Name,456' autocreate_tags='no']

[mbr_update_contact first_name='John' my_custom_field='12345' my_custom_field_2='98765' assign_tags='123,My Tag Name,456' remove_tags='987,Another Tag Name,876' autocreate_tags='yes']

API:

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