Advanced integration modality
With Active Campaign, you can connect the fields that are in Active Campaign with those you have in Checkout, including the default ones.
The advanced integration modality allows creating a specific set of options: as an administrator, you can register users to different lists and possible interest groups based on specific conditions.
Now we explain how to configure the set of options. First of all, make sure you select the same list in the plugin as in Active Campaign.
Fields
As previously mentioned, the plugin allows you to connect the checkout fields to Active Campaign: for each registration, you can save further information, in addition to the classic “First name”, “Last name”, “Email address”. You can also reuse them later for the creation of new forms through Active Campaign.
By default, the plugin is already suitable to associate three fields “First name”, “Last name”, “Email address”.
The first thing you need to do, when you want to associate a new field, is to create a new field on Active Campaign. Go to “Lists” -> “manage fields” and add a “new custom field”. For example, let’s add “Phone”.
Open the plugin again and update the fields by clicking on the “Update fields” button. Now the new field will be shown in the Active Campaign Field list.
PLEASE NOTE: make sure the list you have selected is the same in the plugin as in Active Campaign.
Conditions
To have a smart registration to your Active Campaign lists, you can insert an unlimited number of conditions that will be checked during the purchase.
Users will be registered to the lists and/or interest groups only if all the conditions are met.
As you can see in the image above, the user will only be registered if the next conditions are met:
- the order includes at least one “Clothing” category product;
- the order includes at least one “YITH Backpack”;
- the order amount is lower than 30$.
Custom condition
You can also check the value of a specific checkout field. To locate the field, you need to specify the value of the “name” attribute (the value that will be sent to the $_POST variable at the checkout). The data can be easily recovered by opening the browser console and selecting the specific field.
For example, we want to make sure that the email field does not include the word “yopmail”. We recover the value of the “name” attribute in the email field.
We insert the condition and save the options set.