You can integrate ActiveCampaign with Magento Community Edition by installing our official extension from the Magento Connect marketplace. The extension will allow you to do the following:
- Connect any ActiveCampaign hosted account (using your API URL and Key). It should also work with the On-Site edition (5.4 or later).
- Have new customer account registrations added to ActiveCampaign as subscribers (if they opt-in to the Newsletter). You can also send them an Opt-in confirmation email.
- Have existing customer account Newsletter changes (opt in or out) updated in ActiveCampaign.
- Bulk export/sync all current Magento Newsletter subscribers to ActiveCampaign in just two clicks.
Please note: Due to the setup involved, we have not tested this integration using Magento Enterprise Edition, but as it seems to be the same software interface (only a different SLA) the extension should still work fine. If you install it and experience any specific problems, please let us know.
- 05/11/2013: Version 1.5.1 released. Fixed issue with unsubscribing from Newsletter in Magento – it would not unsubscribe the person in ActiveCampaign. Also fixed an issue with ActiveCampaign accounts that have a dash in the account name – the integration would not work at all.
- 02/12/2013: Version 1.5 released. Changes include cleaned-up interface, and ability to choose a Subscription Form to control Opt-in settings for new Magento customers added to ActiveCampaign.
- 11/13/2012: First version released.
Jump to any section below:
To get started, head over to the extension marketplace to obtain the ActiveCampaign extension. Click the “Install Now” button on the left side:
Check the license agreement checkbox, and then click “Get Extension Key.”
Copy the entire URL from the textbox:
In your Magento admin section, go to “System” > “Magento Connect” > “Magento Connect Manager.”
Paste the extension URL into the textbox under “Install New Extensions” and then click the “Install” button.
Under “Extension dependencies” it will preview the extension you are about to install. Click “Proceed.”
Towards the bottom you will see the console running through the install process. A successful installation should look like this:
When you return to the admin section, you should see another menu option for “ActiveCampaign.”
Hover over it and click the “Settings” option. You can also access it from the “Newsletter” option.
Upon loading the ActiveCampaign section for the first time, the settings will be disabled until you put in your ActiveCampaign details.
Click the row to edit the settings. Then change the status to “Enabled,” and supply your ActiveCampaign API details.
Click “Save And Continue Edit” in the upper-right corner.
Next, click the “Lists” tab on the left, and choose what lists you want new customer registrations added to. You can choose one, or many lists.
Next, click the “Forms” tab on the left, and choose what form you want to associate new subscribers with. This is optional. You can use this to control what Opt-in settings are used. If you don’t choose a form here, it will automatically add new Magento customers as “Active” in ActiveCampaign, meaning they won’t have to confirm their subscription via email. If you choose a form, and you want new Magento customers to opt-in first, make sure your ActiveCampaign form has Opt-in enabled.
Click “Save Connection” in the upper-right, which will bring you back to the main page.
New Customer Registrations
When a new customer registers from the public side, and opts-in to receive the Newsletter, they will automatically be added to ActiveCampaign as a new subscriber.
Also, when this new customer edits their account, and opts-out of the Newsletter, that will cause them to be Unsubscribed in ActiveCampaign.
Using the Export Feature
If you already have a bunch of customers registered in Magento, and you want to quickly add them into your ActiveCampaign account, you can quickly do this under the “Export Magento Subscribers” tab:
Click the checkbox to confirm, then click “Save Connection” again (upper-right) to start the export process (import into ActiveCampaign).
Please note: this will perform a sync operation for each Newsletter subscriber, meaning if they already exist in ActiveCampaign, they will be updated into the lists you have supplied for the Magento extension, and no other information (subscriptions) will be affected.
Uninstalling the Extension
To uninstall the ActiveCampaign extension, first visit the Magento Connect Manager.
ActiveCampaign_Subscriptions, choose “Uninstall” from the drop-down, then click “Commit Changes.”
The log will show a confirmation if successfully uninstalled.
This will only remove the extension folder from the file system (and menu option from the admin UI). You might also want to remove the database table dedicated to this extension by running these MySQL commands against your Magento database:
delete from core_resource where code = 'subscriptions_setup' limit 1; drop table subscriptions;
(We’d make this part automated, but it doesn’t appear to be possible to run uninstall SQL commands for Magento extensions.)
To uninstall the extension manually (or if it doesn’t appear in the Magento Connect Manager), delete the following files and folders from the Magento application folder:
Then run the same SQL commands from above.