This release adds several new features in a backwards compatible¹ way:
Newsletter integration
logCRM can now operate as a newsletter provider. The implementation completely bypasses campaignion’s newsletter sub-system and sends the required data about opt-ins and configured lists along with the form event (more details below). This means newsletter providers can now be integrated using logCRM.
Action tags
In order to facilitate auto-tagging the tags configured for the action are now transferred within the actions sub-array. Example:
action:
# existing
uuid: 5053006c-864f-4c0f-92cc-7d4eaefab2a2
title: Examle action
type: webform
type_title: Flexible form
needs_confirmation: false
# new
tags: ["general", "purpose", "tags"]
source_tags: ["source", "tags"]
campain_tags: ["campaign", "tags"]
Opt-in data
The form submissions now also contain data about the opt-ins/opt-outs that were made during the submission. Example:
_optins:
4: # This is the webform component CID.
address: test@example.com
operation: opt-in
value: "radios:opt-in"
channel: email
statement: The statement configured in the opt-in component.
# newsletter settings
unsubscribe_all: false
unsubscribe_unknown: false
trigger_opt_in_email: false
trigger_welcome_email: false
lists:
- "mailchimp:list1"
¹All changes to the exported data are backwards compatible except for very rare configurations.