Home

Awesome

<!-- title: Adding ActiveCampaign to your app using open source analytics description: Connect ActiveCampaign to the analytics library pageTitle: ActiveCampaign -->

ActiveCampaign

This library exports the activecampaign plugin for the analytics package & standalone methods for any project to use to make it easier to interact with ActiveCampaign.

This analytics plugin will load ActiveCampaign into your application.

Installation

npm install analytics
npm install analytics-plugin-activecampaign

How to use

import Analytics from 'analytics'
import activecampaign from 'analytics-plugin-activecampaign'

const analytics = Analytics({
  app: 'awesome-app',
  plugins: [
    activecampaign({
      accountId: '1234' // required
    })
  ]
})

Get your account ID from the tracking link inside your ActiveCampaign account. https://YourAccountName.activehosted.com/app/settings/tracking