https://github.com/deevus/analytics-plugin-activecampaign
https://github.com/deevus/analytics-plugin-activecampaign
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deevus/analytics-plugin-activecampaign
- Owner: deevus
- Created: 2021-04-08T01:13:30.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2021-10-21T23:54:56.000Z (over 4 years ago)
- Last Synced: 2025-02-13T03:22:01.797Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 49.8 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ActiveCampaign
This library exports the `activecampaign` plugin for the [`analytics`](https://www.npmjs.com/package/analytics) package & standalone methods for any project to use to make it easier to interact with [ActiveCampaign](https://www.activecampaign.com/).
This analytics plugin will load ActiveCampaign into your application.
## Installation
```bash
npm install analytics
npm install analytics-plugin-activecampaign
```
## How to use
```typescript
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