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 to create a specific set of options: as administrator, you could register users to different lists and possible interest groups basing 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.
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”.
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: check the list you have selected is the same in the plugin as in Active Campaign.
In order 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 contains at least one “Clothing” category product.
- The order contains at least one “YITH Backpack”.
- The order amount is lower than 30$.
You can also check the value of a specific checkout field. In order to locate the field, you need to specify the value of “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 “name” attribute in the email field.
We insert the condition and save the option set.