ActiveCampaign

[memb_automation_button]

Summary
This shortcode will create a button to run an Automation for the currently logged in user.

Description

This shortcode will create a button to run an Automation for the currently logged in user.

Shortcode Examples

A simple automation button:

[memb_automation_button automation_id=6]

Example with user defined button text:

[memb_automation_button automation_id=6 button_text="Click Here"]

Example of shortcode with redirect_url:

[memb_automation_button automation_id=6 redirect_url="http://yourdomain.com/success"]

 

Shortcode Parameters

automation_idThe ID# of the automation.
button_textThe text you wish to display on the button. Defaults to “Submit”. (Optional)
contact_idThe ActiveCampaign Contact ID of the contact you wish to operate on. (Optional)
redirect_url (Optional)The URL that a user will be redirected to after the button is clicked. Example, “http://yourdomain.com/redirect”
tag_idA comma separated list of tags to add or remove. Defaults to none. (Optional)
css_classThe CSS class to apply to the button. Defaults to none. (Optional)
button_urlThe image location for the button graphic. Defaults to none. Example, “https://yourdomain.com/img/button.jpg”. (Optional)