This shortcode is used to generate a button within a page or post which, when clicked, will cause a specified action set to run in your Infusionsoft application.
Optionally, if the appropriate parameters are set, this shortcode will also assign or remove tags from the current subscriber/contact, as well as as assign or remove to a followup sequence.
If the current visitor is not logged in or is not an Infusionsoft subscriber, the button will not be displayed.
For the button to display, the shortcode requires an action set ID, a tag ID or a Follow-Up sequence ID.
Alternatively, a contact ID may be passed to enable these actions to run against a contact other than the one currently logged in.
This shortcode does NOT supports conditional branching with [ELSE_actionset].
Shortcode nesting is NOT supported.
Shortcode nesting is supported:
[i4w_ifsession1] thru [i4w_ifsession19]
[ELSE_ifsession1] thru [ELSE_ifsession19]
|actid||a comma separated (CSV) list of action set ID’s you wish to run for the current contact/subscriber.|
|tagid||a CSV list of tag ID’s you wish to apply to the current contact/subscriber. If one or more tag ID’s passed as a parameter to the shortcode is a negative number, it or they will be removed. The tag ID list can consist of both positive and negative numbers, meaning that tags can be assigned and removed in a single shortcode execution.|
|fupid||a CSV list of follow-up sequence ID’s you wish to apply to the current contact/subscriber. If one or more follow-up sequence ID’s passed as parameters to the shortcode is a negative number, the member will be removed from the given follow-up sequence. The FUP ID list can consist of both positive and negative numbers, meaning that members can be assigned and removed from a FUP sequence in a single shortcode execution.|
|autorun||If set to 1, the shortcode will execute without waiting for user input. If not set to 1, it will generate a form and a submit button and wait for user input. If the autorun option is used, the other parameters will be ignored (buttontext, buttonimage, redir, aftertext, etc).|
|uselink|| Determine whether to use a link instead of a button.|
|linktext||the text that should be displayed for the link.|
|buttontext||the text that should be displayed in the button.|
|buttonimage||the HTTP/URL path to the image of your choice.|
|buttonstyle||Any inline style you want to apply to the button image or HTML button.|
|redir||Sends the user to the URL of your choice after processing the action set. A special value can be passed, #reload#, to force a full reload of the current page.|
|redirpopup||determines whether the user will be redirected to a new window after running the action set or not. Only used if the “redir” parameter is used.|
|aftertext||the text that should be displayed after the request has been processed, if the user hasn’t been redirected.|
|refresh||specifies whether the contact data should be refreshed after running the shortcode.|
Default: 1 (yes).
[i4w_actionset actid='1,2,3' tagid='55,66,77' buttontext='Click here' buttonimage='imageURL' redir='redirURL' aftertext='Your request has been processed.']
[i4w_actionset actid='1,2,3' tagid='12,34,-56' fupid='78,-90' redir='#reload#' uselink='yes' linktext='Click here']
[i4w_actionset actid='1,2,3' tagid='12,34,-56' fupid='78,-90' redir='#reload#' autorun=1]
[i4w_actionset cid='1234' actid='1,2,3' tagid='12,34,-56' fupid='78,-90' redir='#reload#' autorun=1]
(2) The #reload# option should not be used in conjunction with “autorun”, as it will lead to an infinite loop.