Our WordPress plugin makes it easy to insert ActiveCampaign forms into your posts and pages. It also adds the Site Tracking code to your WordPress site.
In this article, you'll learn how to:
Install the WordPress plugin
1. Log into your WordPress site.
2. Click “Plugins” in the sidebar.
3. Click "Add New."
4. A list of plugins will load. Type “ActiveCampaign” into the search field and press enter (or return) on your keyboard to run the search:
5. Look for the plugin titled “ActiveCampaign by ActiveCampaign.” Click the "Install Now" button.
6. Click "Activate."
7. Access the plugin's settings by placing your cursor over “Settings” in the sidebar and then clicking on ActiveCampaign:
Configure Wordpress plugin settings
Once the installation is complete, you'll need to configure the Wordpress plugin settings by supplying your ActiveCampaign API URL and Key, as well as selecting which forms you want to make available for use on your WordPress site.
We recommend opening a new tab (you'll need to be able to switch back and forth between your ActiveCampaign account and your WordPress site) and logging into your ActiveCampaign account.
In the steps below, we'll show you where you can access your ActiveCampaign API information so you can add it to WordPress, and show you how to make your forms available for use on your site.
1. From your ActiveCampaign account, click "Settings" located in the lower left of the application.
2. Click “Developer” in the left-hand sidebar.
3. Under the API Access section heading, you'll see your API URL and key.
Copy your API URL by clicking it and pressing Control + C on your keyboard. Paste the URL into your WordPress site then do the same for your API key.
4. Click the “Connect” button in WordPress.
5. Select which forms should cache locally on your site by clicking the check box next to them. Selecting forms here means you'll be able to insert them into your Wordpress posts and pages. This step is required if you want to use forms on your Wordpress site.
You can always select and unselect forms as needed from this page.
6. When finished, click the "Update Settings" button.
Enable site tracking on your Wordpress site
Installing the ActiveCampaign WordPress plugin inserts your Site Tracking code into each page of your WordPress site.
You'll have two different site tracking settings to choose from:
Track by default
This setting is selected by default and will track page visits and IP addresses for all known contacts without their explicit consent. Page visits and IP addresses are considered personal data.
Don't track by default
This includes site tracking ability, but requires your contacts to confirm tracking consent. You will need to create a tracking consent notice and connect it to this plugin in order to use this option.
To enable site tracking, click the Enable Site Tracking toggle to its "On" position then select your preferred site tracking option: Track by default or Don't track by default.
When finished, click “Update Settings.”
If you'd like to disable site tracking, click the "Enable site tracking" toggle to its "Off" position.
This option will appear on the ActiveCampaign settings page in Wordpress if you have at least one form in your ActiveCampaign account.
Insert forms into your Wordpress posts
Now that you've installed and configured the plugin, you can start inserting forms into your posts.
The types of forms you can insert include:
- Inline forms - a form that is embedded into the content of the webpage
- Floating box forms - a small box that slides up from the bottom of the page
- Modal pop up forms - a box that appears on top of the webpage content and dims the background
- Floating bar forms - a strip that appears at the top or bottom of the page
The floating box, modal, and floating bar forms are available on Plus, Professional, and Enterprise plans only.
When you create or edit a page or post, you'll see the ActiveCampaign button in the toolbar:
Place the cursor where you want the form to appear and click the ActiveCampaign logo.
A modal window will appear listing the forms you've created. Click the name of the form you'd like to insert. A shortcode will appear. When the post is previewed or published, the shortcode will be replaced with your ActiveCampaign form.
To edit the form, log back into your ActiveCampaign account and edit it there. The changes you make will be reflected in your forms that were placed through the WordPress plugin—you don't need to replace or modify the code.
For more information about adding a form to your site, click here.