> For the complete documentation index, see [llms.txt](https://docs-vnext.kiflo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-vnext.kiflo.com/integrations/website-forms/wordpress-activecampaign.md).

# WordPress - ActiveCampaign

This page describes how to use existing ActiveCampaign form to track referral from partners.

Overview

The integration relies on 2 Wordpress plugins:

* Kiflo (<https://cdn.kiflo.com/wordpress/plugins/kiflo_latest.zip>): this plugin allows you to easily connect WordPress with your Kiflo account and provide an easy integration with ActiveCampaign.
* ActiveCampaign WordPress plugin: <https://help.activecampaign.com/hc/en-us/articles/222475388-Wordpress-plugin>

## Setup Kiflo WordPress plugin

To download, install and configure Kiflo WordPress plugin, please refer to this article: [https://docs.kiflo.com/article/39-wordpress](/integrations/website-forms/wordpress.md)

## Configure ActiveCampaign form

Follow these steps in order to configure your form to have a new field that will store the *Kiflo tracking code*

* Edit your form in ActiveCampaign
* Add a custom hidden field named "kiflotrackingcode" (note: you can choose another name):
* ![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-d6a4fed7355407175f3670a9282a774ca4504028%2F60440525661b720174a7424d.png?alt=media)
* Add the new field in your form

That's it for the form configuration part, now it's time to integrate it with Kiflo.

## Integrate ActiveCampaign form

In your ActiveCampaign account:

* Edit your form
* Click on **Integrate** button
* Copy the form URL (in red the following red rectangle) and save it for later usage:
* ![](https://3041514930-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkJn82Qo5a0Y4fOsoQzo%2Fuploads%2Fgit-blob-0fb885de7910ca1b2932dfc70ed8212032c5cc16%2F604406680a2dae5b58fb6aaf.png?alt=media)

In your WordPress editor:

* Edit the page where you want to integrate the form
* Insert this shortcode:

  ```
  [kifloactivecampaign form='<a href="https://xxxxxx.activehosted.com/f/embed.php?id=1' field='kiflotrackingcode']
  ```

{% hint style="info" %}
The **form** parameter must be replaced by the URL you copied in the previous step.\
The **field** parameter may be replaced by the name of the customer hidden field you created, if you choosed another name.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-vnext.kiflo.com/integrations/website-forms/wordpress-activecampaign.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
