Magento integrations

Magento is an open source e-commerce solution used by millions of customers. You can use the official ActiveCampaign extension to sync Magento customers with ActiveCampaign or you can use Zapier to select from multiple triggers and actions to create your integration. For example, you can use Zapier to trigger a Zap when Magento gets a new order and then create/update a contact in ActiveCampaign, or you can trigger a Zap when a new deal is added or updated in ActiveCampaign and then create and invoice in Magento.

In this article, we will cover:

Zapier
To get started with this integration, you will need the following:

  • Paid Zapier account
  • Magento account
  • ActiveCampaign account
  1. Click here to view different Zap options for adding contacts to ActiveCampaign
  2. Select your Zap trigger and action by clicking them from the Zapbook page and click “Continue” to create your Zap. In this example, we are using the “New Customer” Magento trigger.

    Magento_trigger.png

  3. Enter your Magento details in the modal pop-up to connect your Magento Account. Then click “Yes, Continue” to complete the setup for your trigger.

    allow_zapier_to_access_magento.png

  4. Follow the steps in Zapier for setting up your ActiveCampaign action. You will be asked to add your ActiveCampaign API URL and Key. Then follow the rest of the steps for setting up your ActiveCampaign action.

    allow_zapier_to_access_ac_account.png

  5. As a last step, you’ll need to name your Zap and toggle it to turn it on. You will be asked to submit payment to Zapier if you do not have a paid account.

For more details regarding this setup, please see Zapier’s Magento integration support document.

Back to top.

How to install the official ActiveCampaign Magento extension
Note: this integration method is compatible with the following Magento versions only:
1.7, 1.8, 1.8.1, 1.9, 1.9.1, 1.9.2

The extension has not yet been converted to work with Magento 2.

To get started, you will need the following:

  • Magento account
  • ActiveCampaign account
  1. Go to the extension marketplace and click “Install Now” to install the ActiveCampaign extension.

    install_magento_extension.png

  2. Click “Get Extension Key” and click the “I agree to the extension license agreement” button.

    click_get_extension_key.png

  3. Copy the Key URL located in the Magento Connect 2.0 box.

    magento_link.png

  4. In your Magento admin section, go to System > Magento Connect > Magento Manager.

    magento_manager.png
  5. Paste the Key URL into the “Paste extension key to install” field and click “Install.”

    paste_key.png

  6. Under “Extension dependencies” it will preview the extension you are about to install. Click “Proceed.”

    magento_click_proceed.png

  7. Toward the bottom of the page, you will see a console running through the install process. A successful installation will look like this:

    console_magneto_1.png

  8. Scroll to the top of the page and click “Return to Admin.”

    return_to_admin.png

  9. When you return to the Magento admin section, you will see a menu option for ActiveCampaign:

    Magento_click_activecampaign.png

  10. Hover your mouse over the ActiveCampaign tab and click “Settings.”

    Magento_click_settings.png
  11. Upon loading the ActiveCampaign section for the first time, the settings will be disabled until you put in your ActiveCampaign details.

    Default_disabled.png
  12. Click that row (where it says “Disabled”) and enter your ActiveCampaign API details.

    enter_api.png

  13. Click “Save and Continue Edit” located on the top right of your screen.

    Save_and_conitnue_edit.png
  14. Next, click “Lists” from the left side menu to choose which lists you want your new customer registrations added to. You can choose one or several lists.

    Magento_pick_lists.png

  15. Optional - click the Forms tab on the left to choose which form you want to associate new subscribers with. You can choose this to control what opt-in settings are used. If you do not choose a form, it will automatically add new Magento customers as “Active” in ActiveCampaign, meaning they will not go through a double opt-in process. If you choose a form, and you want new Magento customers to opt-in first, make sure your ActiveCampaign form has the double opt-in enabled.

    Magento_select_form.png

  16. Click “Save Connection” on the upper-right. This will bring you back to the main page.

    Magento_save_connection.png

Back to top.

Exporting Magento Subscribers into ActiveCampaign
The ActiveCampaign extension makes it easy for you to export (sync) current customers in Magento with your ActiveCampaign account. If a contact already exists in ActiveCampaign, they will be updated into the lists you have supplied for the Magento extension and no other subscriptions will be affected. This operation will not export contacts into a file that you will then upload into ActiveCampaign–it's an automatic sync.

To get started:

  1. Click the ActiveCampaign tab in your Magento admin and click “Settings.”

    Click_ac_then_click_settings.png

  2. Click the “Enabled” row.
    click_enabled.png
  3. Click “Export Magento Subscribers” and click the “Confirm” box.

    Magento_Confirm_Export.png
  4. Click “Save Connection.”

    ac_save_connection.png

Back to top.

Uninstalling the ActiveCampaign extension

  1. Go to the Magento Connect Manager.

    Magento_System_Connect_Manager.png
  2. Locate ActiveCampaign_Subscriptions and click the dropdown to select “Uninstall.” Then click “Commit Changes.”

    Magento_Uninstall_Commit.png

  3. A log window at the bottom of the screen will show a confirmation if the extension is successfully uninstalled:
    Auto_scroll_console.png

Please note that these steps will only remove the extension folder from the file system (and menu option from the admin UI). You may 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:

  • /app/code/community/ActiveCampaign/
  • /app/design/adminhtml/default/default/layout/subscriptions.xml
  • /app/design/adminhtml/default/default/template/subscriptions/
  • /app/design/frontend/default/default/layout/subscriptions.xml
  • /app/design/frontend/default/default/template/subscriptions/
  • /app/etc/modules/ActiveCampaign_Subscriptions.xml

Then run the same SQL commands from above.

Back to top.

 

Have more questions? Submit a request