Campaign Monitor API V3
Campaign Monitor API V3
This extension is entirely based on the Fontis Campaign Monitor extension, except it uses the Campaign Monitor API V3 instead of V2.
Campaign Monitor is built for designers who can create great looking emails for themselves and their clients, but need software to send each campaign, track the results and manage their subscribers." www.campaignmonitor.com
This extension integrates Magento with the Campaign Monitor mailing list manager. Users are added to a specified Campaign Monitor email list when they subscribe to the newsletter in Magento, and removed when they unsubscribe. Users are also marked as unsubscribed in Magento when they click an unsubscribe link in a Campaign Monitor email.
Configuration
NOTE: This extension requires SOAP extension support in PHP.
Once the module is installed, go to System -> Configuration -> Customers -> Newsletter in the Magento admin interface.
Enter your Campaign Monitor API key and the List ID of the list that subscribers will be added to.
To find your Campaign Monitor API Client ID:
- Log in to Campaign Monitor
- Select the client you want to use
- Click Client Settings in the top right
- Copy the API Client ID value
To find your Campaign Monitor API Subscriber List ID:
- Log in to Campaign Monitor
- Select the client you want to use
- Click Manage Subscribers
- Select the subscriber list you want to use
- Click edit list name/type to the right of the list title
- Copy the API Subscriber List ID value, found at the bottom of the page
To correctly handle unsubscribe actions from users clicking unsubscribe links in emails, go to Unsubscribe Options on the Manage Subscriber List page in Campaign Monitor for the list you specified in Magento. In the 'Redirect unsubscribers to your own confirmation page' section, enter:
[your.site]/campaignmonitor/unsubscribe?email=[emailFor example, if your Magento site's URL is www.example.com/magento, you would enter:
www.example.com/magento/campaignmonitor/unsubscribe?email=[email]
Once you save this setting, users that click a Campaign Monitor email unsubscribe link will be redirected to your Magento site after being unsubscribed, which allows Magento to mark them as unsubscribed to the newsletter.
Optional: The Fontis Campaign Monitor module allows you to select Magento customer attributes that will be used to fill out custom fields in your Campaign Monitor list. To view the custom fields in your Campaign Monitor list, or to add new ones, select the subscriber list you want to edit and then select 'Custom fields' from the 'Manage list' section on the right toolbar:

To link Magento attributes to these fields, click the 'Add linked attribute' button in the 'Attributes to pass to Campaign Monitor' section of the Campaign Monitor Settings area in the Magento backend. This will add a new row, consisting of a drop-down list showing the available Magento attributes and a text field for the Campaign Monitor custom field personalisation tag. To add a linked attribute:
- Select the Magento attribute you want to link from the drop-down list box.
- Enter the Campaign Monitor custom field personalisation tag in the text field next to the drop-down. These tags can be found in the 'Custom fields' section in Campaign Monitor (see above). Note that you must remove the ,fallback= text from the personalisation tag or the field will not link correctly. The personalisation tag should look like the field name enclosed in square brackets.
You can link more attributes by clicking the 'Add linked attribute' button again to add more rows. As an example, here is how the Campaign Monitor shown above could be linked to Magento attributes:
