How do I connect Klipfolio and ActiveCampaign?

You can set up a connection between Klipfolio and your ActiveCampaign data to display your email marketing metrics on a dashboard.

This article includes:

What options do I have for visualizing my ActiveCampaign data?

Create data visualizations based on pre-built options or build your own. The choice is yours!

Pre-built by Klipfolio

Take advantage of our pre-built data sources to gather the data most meaningful to you.

  • ActiveCampaign pre-built data sources: Data sources provide the foundation for Klip building, so we suggest you create a data source as a first step (before building Klips and adding them to your dashboard). Our pre-built data sources focus on the most sought-after ActiveCampaign data and are found on the Service Connectors page, available from this link or from your list of data sources. When you select a service connector from this page, the data source for that service is automatically added.

Custom-built by you

Taking the time to learn how to create your own data sources and Klips unlocks your data and enables you to control, manipulate, and transform it, leading you to unprecedented insights into your business.

  • Custom data sources: When you create a custom data source, you can either use the pre-built data source as a starting point from which to write your own query or you can write your own queries from the ground up and build a data source from scratch. You create custom-built data sources in the Service Connectors page, accessible from this link or from your list of data sources.

  • Custom Klips: Using our Klip Editor, you can construct and manipulate your data, including integrating multiple data sources, to produce unique, custom-built data visualizations. You create custom Klips from either your list of Klips or your Dashboard.

Regardless of whether you choose pre-built, custom-built, or a combination of both, before you can start building Klips and dashboards you need to connect to ActiveCampaign data in Klipfolio.

How do I connect to ActiveCampaign data in Klipfolio?

To connect your ActiveCampaign data to Klipfolio, you will need your ActiveCampaign user URL and API key.

To get the right data from ActiveCampaign, you use your ActiveCampaign user URL and API key in the queries provided by Klipfolio or in your own query when building data sources. Depending on the query you want to run, you may also need your ActiveCampaign campaign ID.

How do I find my ActiveCampaign user URL and API key?

To find your ActiveCampaign user URL and API Key:

  1. Log in to your ActiveCampaign account using your account name.
    Note: ActiveCampaign uses the company name you provided when you created your account as your account name. For example, if the company name you supplied when creating an account is “mynewcompany,” then your login URL is “mynewcompany.activehosted.com.” 
  2. Click Settings on the bottom left side of the screen and select Developer from the side menu.
  3. Copy the text under the URL and Key headings for your user URL and API Key respectively.

How do I find my ActiveCampaign campaign ID?

To find your ActiveCampaign campaign ID:

  1. Navigate to the Service Connectors page in Klipfolio and choose ActiveCampaign from the list.
  2. Select the Campaigns (This Month) pre-built data source.
  3. Adjust the Query URL information, as noted on the Configure Data Source page, to replace <userURL> and <apiKey> with your user URL and API Key from the procedure above.
  4. Click Submit.
  5. Locate the name of your chosen campaign and the accompanying ID. Use this campaign ID number in queries where appropriate.

How do I add an ActiveCampaign pre-built or custom-built data source?

To add an ActiveCampaign pre-built or custom-built data source:

  1. Navigate to the Service Connectors page in Klipfolio and choose ActiveCampaign from the list.
  2. Select a pre-built data source from the left section of the Pick a Data Request page. Alternatively, if you want to create a custom-built data source, click Create a custom ActiveCampaign data source.
  3. Adjust the Query URL information, as noted on the Configure Data Source page, to replace any generic placeholder data with your own.
    For example, replace userURL with your own user URL.
  4. If you are creating a custom-built data source, edit the Query URL further to return the data you need. Refer to the ActiveCampaign API documentation for details.
  5. Click Submit.

If you want to edit a data source that you already created, check out How to edit or reconfigure a data source, and get step-by-step instructions.

How do I create an ActiveCampaign data source from scratch?

You can choose to build a data source from scratch. Klipfolio connects to hundreds of services in the cloud that have a REST API. If you take the time to learn your service’s API to create queries for the data you want, your possibilities are endless. Here’s a quick overview video on APIs and Klipfolio:

  Klipfolio API's 101

If you need assistance using APIs, enlist a data analyst or developer.

Refer to the ActiveCampaign API documentation to discover more data requests.

When you are happy with your query, click Submit, and then save and name your new data source. You're now ready to use it to build an ActiveCampaign Klip.

See the reference table below for API related information and sample queries.

API Documentation ActiveCampaign API documentation

Authentication Method

API Key Authentication
Response Format JSON

API Limits and Notes

Results for the Contacts and Campaigns (This Month) pre-built data sources are limited to 20 per page.

Date Format

Example date format:

yyyy-MM-dd

Sample Queries

Campaigns (This Month):

<userURL>/admin/api.php?api_key=<apiKey>&api_action=campaign_list&ids=all&full=0&api_output=json&filters[cdate_since_datetime]={date.startOfMonth.format('yyyy-MM-dd')}

Contacts:

<userURL>/admin/api.php?api_key=<apiKey>&api_action=contact_list&ids=all&api_output=json

How do I create an ActiveCampaign custom Klip?

You create custom Klips from either your list of Klips or your Dashboard. You choose a data visualization format, for example, a pie chart, gauge, or table, and decide whether you want to use an existing data source or create a new one. In the Klip Editor, there are limitless opportunities to modify, relate, and display your data. See the following related articles for more information and get building!

Related Links