This project is not covered by Drupal’s security advisory policy.
Overview
This module integrates Drupal 8 with Constant Contact an email marketing solution. By using this module, site users are able to easily register their email to a list of available Constant Contact emailing listings.
Usage
Using constant_contact_block involves carrying out the following steps. If you don't have a Constant Contact account, one can easily be created from the Constant Contact platform.
Set the following in Constant Contact Block configuration page (admin/config/constant_contact_block/constantcontantconfig)
- Create a developer's account on Constant contact if you don't have one and get an api key and a client secret.
- Set list source (local or remote). By default remote is enabled. If local is selected, you will need to import the Constant Contact lists (admin/constant_contact/import)
- Set Constant Contact base url: https://api.constantcontact.com/v2/
- Set the redirect url to: http://localhost/constant_contact_block/getCode. Change localhost to reflect your sites domain.
- Set Auth request url to: https://oauth2.constantcontact.com/oauth2/oauth/siteowner/authorize
- Authorize the site to import or communicate with Constant Contact (constant_contact_block/get_auth)
- Create a Contact Contact block(s) and place them anywhere on a page
Features
- supports creation of new email list
- supports registration of email to selected number of email lists
- supports the ability to import email lists from Constant Contact and store them locally
- allows for one to select a remote Constant Contact platform or local list source
- allows for the addition of extra fields (first name, last name, company e.t.c) in the form. These fields can be defined in constant_contact_block.fields.yml file. Customizable fields can be found in the Constant Contact Developer v2 api documentation.
Installation
Download the module running the following shell command from you project root (at the composer.json file level):
- $ composer require "drupal/constant_contact_block"
- Enable the module
using Drush: $ drush en constant_contact_block
using drupal console: $ drupal module:install constant_contact_block or
the website back-end/administration interface;
NB:
Development version of the module is available on the github link below:
Project information
- Module categories: Integrations
- 10 sites report using this module
- Created by mwebaze on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.