ActiveCampaign Source

Active Campagin is an email marketing & marketing automation solution for small businesses. Visit Website

Take your company’s email analysis to the next level by adding ActiveCampagin as a Source to Segment. We’ll automatically collect email events like Email Delivered and Email Opened, forward them to your integrations, and load them into your data warehouse.

In your favorite BI or analytics tool, you’ll be able to analyze your email campaigns in SQL or through drag-and-drop reports. And, you’ll be able to join your ActiveCampagin data with the event data you’re already sending through Segment to analyze the down-funnel effects of your emails. Learn more about how you can use ActiveCampaign with Segment.

Getting Started

If you have previously enabled sending email events via the ActiveCampaign integration during our beta (using a project write key), you do not need to create new ActiveCampaign source. Your email data will continue to flow as normal.

  1. From your workspace’s segment.com/<your-workspace>/sources page, click Add source.

  2. Choose ActiveCampaign.

  3. Give the Source a nickname and a schema name. The nickname will be used to designate the Source in the Segment interface, and the schema name is the namespace you’ll be querying against in your warehouse. You can name them however you’d like, but we recommend sticking to something that reflects the Source itself, like ActiveCampaign for nickname and activecampaign for the schema name.

  4. The next page (“Overview”) will surface your Segment write key for ActiveCampaign. Copy this write key.

  5. In your ActiveCampaign account, navigate to http://YOURACCOUNT.activehosted.com/apps/#/segment

  6. Scroll to the bottom of the page to where it says “Send email events data from ActiveCampaign to Segment.”

  7. Click the “OFF” toggle. off

  8. This will open a modal for you to enter your Segment.com write key. Enter your write key and click “Connect”.

  9. The toggle will now say “ON”. on

  10. Once the first event occurs, you’ll always see the last event that occurred in this box. last event

  11. If you ever need to re-enter your Segment write key, just click “Re-enter your Segment write key.”

  12. In Segment, click into your ActiveCampaign Source in segment.com/<your-workspace>/sources. From there you’ll be able to add Integrations and Warehouses where you want to see email events.

That’s it! As you send emails, events will now be sent to your integrations and automatically loaded into any warehouses you have enabled.

Components

Stream

ActiveCampaign uses our stream Source component to send Segment email events. It uses a server-side track method to send data to Segment. These events are then available in any integration that accepts server-side events, and available in a schema in your data warehouse, so you can query via SQL.

The default behavior is for ActiveCampaign to pass the userId associated with the email recipient as the userId. There are cases in which ActiveCampaign does not have an associated userId, in which case the email address will be passed in as the anonymousId.

Collections

Collections are the groupings of data we pull from your Source. In your warehouse, each collection gets its own table, as well as a tracks table that aggregates all the events into a single table.

CollectionTypeDescription
Email DeliveredEventMessage has been successfully delivered to the receiving server
Email OpenedEventRecipient has opened the HTML message. You need to enable Open Tracking for getting this type of event
Email Link ClickedEventRecipient clicked on a link within the message. You need to enable Click Tracking for getting this type of event
Email UnsubscribedEventRecipient clicked on message’s subscription management link
Email BouncedEventReceiving server could not or would not accept message
Email Marked as SpamEventRecipient marked message as spam

Send data to ActiveCampaign

The ActiveCampaign Source works better when you also connect ActiveCampaign as an integration. With the ActiveCampaign Integration, you can use Segment to send ActiveCampaign user and event data from which you trigger email campaigns. Want to start sending website or mobile data TO ActiveCampaign? Head on over to our ActiveCampaign integration docs.


If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!