Commit 19901b45 authored by Tim Diels's avatar Tim Diels
Browse files

Issue #3291944 by tim-diels, Rakhi Soni: Line exceeds 80 characters in README.md file

parent cfc86bae
Loading
Loading
Loading
Loading
+16 −14
Original line number Diff line number Diff line
# Active campaign

Provides a field that shows an Active Campaign form,
a webform handler to send data to Active Campaign and three dashboard pages displaying Active Campaign information.
a webform handler to send data to Active Campaign and three dashboard pages
displaying Active Campaign information.

## Usage

Configure the Activecampaign url, api url, and api key at /admin/config/services/activecampaign
Configure the Activecampaign url, api url, and api key at
`/admin/config/services/activecampaign`

To embed forms into an entity just add an ActiveCampaign field to this entity.

@@ -16,22 +18,22 @@ after which an ActiveCampaign field can be added to this block.

The dashboard pages are located at these urls respectively

 * Dashboards dashboard page: /admin/activecampaign/campaigns
 * Contacts dashboard page: /admin/activecampaign/campaigns
 * Lists dashboard page: /admin/activecampaign/lists
 * Dashboards dashboard page: `/admin/activecampaign/campaigns`
 * Contacts dashboard page: `/admin/activecampaign/campaigns`
 * Lists dashboard page: `/admin/activecampaign/lists`

To use the webformhandler, you need to specify the fields from which data should be forwarded to ActiveCampaign, 
the default fields can be chosen via select list.
To use the webformhandler, you need to specify the fields from which data should
be forwarded to ActiveCampaign, the default fields can be chosen via select
list.

When using the custom yaml mapping the following syntax is required:
 * field[active_campaign_field_id,0]: '[webform_field_machine_name]'.
 * `field[active_campaign_field_id,0]: '[webform_field_machine_name]'`.

Examples using ActiveCampaign custom mapping:
 * Using field id = field[345,0]: '[webform_field_machine_name]'
 * Using Personalization Tag = field[%PERS_1%,0]: '[webform_field_machine_name]'
 * Field ID: `field[345,0]: '[webform_field_machine_name]'`
 * Personalization Tag: `field[%PERS_1%,0]: '[webform_field_machine_name]'`

More info can be found at the ActiveCampaign API pages,
[contact sync documentation](https://www.activecampaign.com/api/example.php?call=contact_sync)
and info on where to find the Personalization Tags can be found
[here](https://help.activecampaign.com/hc/en-us/articles/221433307-Custom-contact-field-overview#edit-or-delete-a-custom-contact-field-0-5).