# ActiveCampaign Quick Start Guide

[ActiveCampaign](https://www.activecampaign.com/lp/sem/marketing-automation?location=9028843\&device=c\&creative=591229207093\&utm_source=google-brand\&utm_medium=cpc\&utm_term=activecampaign\&utm_content=105874910854\&utm_campaign=google_search_brand_proper_northam_us_l-en\&network=g\&gclid=CjwKCAjwge2iBhBBEiwAfXDBR9M8hOwCvKjE-arUTasd2LxAxSR398GQ7szNNaEXhxUN73sUrfJL_hoCrtIQAvD_BwE) is an all-in-one email marketing, marketing automation, and CRM tool. With ActiveCampaign, you can build email newsletters, create email campaigns, and you can automate all aspects of your customer interaction.

When integrated with ActiveCampaign, Freshpaint will create contacts and send events to ActiveCampaign for you.

## Destination Info

* Accepts [Track](https://documentation.freshpaint.io/developer/freshpaint-sdk-reference#track) and [Identify](https://documentation.freshpaint.io/developer/freshpaint-sdk-reference#identify) calls
* Supports [HIPAA mode](https://documentation.freshpaint.io/hipaa-mode)
* Connection Modes:

<table><thead><tr><th width="158.33333333333331" align="right"> </th><th width="234" data-type="checkbox">Client-side</th><th data-type="checkbox">Server-side</th></tr></thead><tbody><tr><td align="right">Web</td><td>false</td><td>true</td></tr><tr><td align="right">Mobile</td><td>false</td><td>true</td></tr><tr><td align="right">Server</td><td>false</td><td>true</td></tr></tbody></table>

## Getting Started

### To set up the ActiveCampaign destination, do the following:

1. Go to the [ActiveCampaign configuration page](https://app.freshpaint.io/destinations/apps/active-campaign) in Freshpaint and click "Configure".
2. In ActiveCampaign, go to Settings > Developer. Then copy and paste your API URL and API Key into Freshpaint.&#x20;

   <figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2F3g2MQXmK4F9eqzBLLLaE%2FPasted%20Graphic%205.png?alt=media&#x26;token=37dcdec1-3d1a-49fe-b890-b302fd236b3c" alt=""><figcaption></figcaption></figure>
3. Then go to Website > Site Tracking and turn on Site Tracking and Event Tracking.&#x20;

   <figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2FBmOy2wOnkHT8HgI5skTb%2FPasted%20Graphic%206.png?alt=media&#x26;token=ad186604-757d-40a0-8dc8-ee2d1beebfa5" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2Fro6k2gUyJnfP6MyZD7Ao%2FPasted%20Graphic%207.png?alt=media&#x26;token=ee209b30-f001-4ddf-a559-412648652e07" alt=""><figcaption></figcaption></figure>
4. Copy the Event Key into Freshpaint.&#x20;

   <figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2FvSC7IRckFdD2WAPXESK7%2FPasted%20Graphic%208.png?alt=media&#x26;token=52c0dea5-026f-4c30-9a0a-8326cb2859d2" alt=""><figcaption></figcaption></figure>
5. Then click on the "Event Tracking API Link" and copy your Actid from the popup that appears into Freshpaint.&#x20;

   <figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2FBFHNw8qNlS3sZ8XWnORb%2FPasted%20Graphic%209.png?alt=media&#x26;token=b5a7b37e-7328-4a99-8f62-1077b2e7bc96" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2FESVxIn1YaB5yOAcE9CPc%2FEvent%20Tracking%20API.png?alt=media&#x26;token=3ee256e1-8fdb-4d50-a55f-08e1b4c980cc" alt=""><figcaption></figcaption></figure>

### ActiveCampaign Required Property

{% hint style="warning" %}
ActiveCampaign will NOT accept events without the `email` property.&#x20;
{% endhint %}

When a Freshpaint event is sent to ActiveCampaign, you must send an `email` property attached to the event. The event will then be attached to the contact with the given email. [See our docs on setting up properties](https://documentation.freshpaint.io/readme/setting-up-properties) to see the different ways you can attach an `email` property to your events.

To ensure defined events include the required `email` parameter, we recommend adding a user's `email` as an event property through the [`addEventProperties` API](https://documentation.freshpaint.io/readme/setting-up-properties#addeventproperties). Read more about events in ActiveCampaign [here](https://documentation.freshpaint.io/destinations/apps/activecampaign#events).

### Set up User Identification

In order to create contacts and attribute events to those contacts in ActiveCampaign, you need to have [User Identification ](https://documentation.freshpaint.io/readme/setting-up-identify)set up. See [this section ](https://documentation.freshpaint.io/destinations/apps/activecampaign#identify)in the Reference section for more on user identification specifically for ActiveCampaign.

### Enable ActiveCampaign Destination for Event(s)

In order to send events to ActiveCampaign, you'll need to enable the ActiveCampaign destination for the desired event in the event definition:

<figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2FkKpW5fyBDaZ2anzU7SlD%2Fimage.png?alt=media&#x26;token=f27ba8d6-6e9c-456b-8fa9-90fbc1cd1f9f" alt=""><figcaption></figcaption></figure>

### Confirm events are sending successfully to ActiveCampaign&#x20;

You can see events populating under "Activities" for a Contact in ActiveCampaign.

<figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2Fck1nMyjWxA5D8UhpDupw%2Fimage.png?alt=media&#x26;token=c4a1a201-2d38-4d82-ac48-9b3ba176ba57" alt=""><figcaption></figcaption></figure>
