Simple ActiveCampaign
This module provides a customizable block for visitors to subscribe to your ActiveCampaign newsletter using an AJAX-powered form. It allows users to be added to default and optionally selected contact lists, with configurable form elements and messages.
The Simple ActiveCampaign module is allowing to display simple newsletter form
through a block system
Features
- A block with a subscription an AJAX powered form that allows visitors to subscribe (create ActiveCampaign contact via API).
- Visitors can be put into certain ActiveCampaign contact list by default.
- Visitors can be additionally allowed to pick an extra ActiveCampaign contact list to be added to.
- The form is highly customizable per block instance. Form item labels, failed and success messages can be customized.
- ActiveCampaign contact lists are loaded via API and can be re-labeled, hidden from available options and reordered via block settings.
Post-Installation
- Go to Config > Services > ActiveCampaign and enter API URL and API key.
- Go to Structure > Block layout. And place the ActiveCampaign block into a selected region.
- Configure the contact list and form appearance and save the block.
Additional Requirements
- Module requires https://github.com/testmonitor/activecampaign/ library, which is installed automatically via Composer.
Similar projects
https://drupal.org/project/activecampaign - More features, but uses old API and doesn't support adding users to the lists.