Freshpaint
Search
⌃K
Links

ActiveCampaign

​ActiveCampaign 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

Client-side
Server-side
Web
Mobile
Server

Getting Started

To set up the ActiveCampaign destination, do the following:

  1. 1.
    Go to the ActiveCampaign configuration page in Freshpaint and click "Configure".
  2. 2.
    In ActiveCampaign, go to Settings > Developer. Then copy and paste your API URL and API Key into Freshpaint.
  3. 3.
    Then go to Website > Site Tracking and turn on Site Tracking and Event Tracking.
  4. 4.
    Copy the Event Key into Freshpaint.
  5. 5.
    Then click on the "Event Tracking API Link" and copy your Actid from the popup that appears into Freshpaint.

ActiveCampaign Required Property

ActiveCampaign will NOT accept events without the email property.
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 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. Read more about events in ActiveCampaign here.

Set up User Identification

In order to create contacts and attribute events to those contacts in ActiveCampaign, you need to have User Identification set up. See this section below 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:

Confirm events are sending successfully to ActiveCampaign

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

Identify

When you call freshpaint.identify, Freshpaint will create a contact in ActiveCampaign and pass in the following fields:
  • firstName
  • lastName
  • email
  • phone
Here is an example of an identify call sent to ActiveCampaign with those fields:
freshpaint.identify({
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"phone": "555-555-5555"
}
)
If a contact record with the given email already exists, Freshpaint will update the existing contact record. If no record with the email exists, Freshpaint will create a new contact record.

Events

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 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.
If implementing a precision tracking event, you can pass the email and custom properties with the following example:
freshpaint.track("event", {
properties: {
acValue: "yourValue"
}
}
You can use the Event Tester to test sending payloads to this destination.

Configuration Options

Connection Mode

Only server-side connection mode is available for this destination. All events will be sent to ActiveCampaign using Freshpaint's servers. Your website will not send data directly to ActiveCampaign.

Event Transformations

Set up transformations to modify your data before it's sent to your destination. Read more about transformations here.

Event Tester

You can use the event tester to test certain payloads to see if they are being sent correctly to ActiveCampaign. Here is an example of an identify event you might test sending to this destination along with the response code from ActiveCampaign:
You can read more about the Event Tester here.