> ## Documentation Index
> Fetch the complete documentation index at: https://octanist.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WordPress

> Install the Octanist WordPress plugin and connect your WordPress forms to Octanist.

Use the Octanist WordPress plugin when your website runs on WordPress. It is the easiest way to install Octanist and capture leads from popular WordPress form plugins.

The normal setup is:

1. Install the Octanist plugin in WordPress.
2. Copy the WordPress setup code from Octanist.
3. Paste the setup code into the plugin settings.
4. Submit a test form and check Octanist.

<Note>
  The legacy WordPress backend endpoint returns Octanist's internal lead UUID, but does not accept an external lead ID. The current pixel form capture flow can store an order number, quotation number, or another customer-owned identifier when the field is mapped to **External lead ID** in [form mapping](/docs/incoming-integrations/form-mapping).
</Note>

## Install the plugin

1. Open your WordPress admin.
2. Go to **Plugins > Add New**.
3. Search for **Octanist**.
4. Click **Install Now**.
5. Click **Activate**.

<Frame>
  <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/onboarding/wordpress-plugin-search.jpg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=613e68765c12a5e790381a82f175a25c" alt="Install the Octanist WordPress plugin" width="3624" height="2480" data-path="images/onboarding/wordpress-plugin-search.jpg" />
</Frame>

If you received a plugin ZIP file from Octanist, upload it through **Plugins > Add New > Upload Plugin** instead.

## Get your setup code

1. Open Octanist.
2. Go to **Settings > Pixel Setup**.
3. Select **WordPress** as the install method.
4. Choose your consent mode.
5. Select the form plugin used on your website.
6. Copy the setup code.

<Frame>
  <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/onboarding/wordpress-pixel-setup-code.jpg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=bb44fb8f7793d7814fcb6b72e051d95a" alt="Copy the WordPress setup code from Octanist" width="3016" height="2466" data-path="images/onboarding/wordpress-pixel-setup-code.jpg" />
</Frame>

The setup code looks like this:

```text theme={null}
OCTA1.OCT-XXXXXXXX.s.a
```

Use the setup code from your own Octanist organisation. Do not use a code from another account.

## Configure WordPress

1. In WordPress, go to **Settings > Octanist**.
2. Paste the full setup code.
3. Click **Save Changes**.

<Frame>
  <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/onboarding/wordpress-plugin-setup-code.jpg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=3f347701d4adecbce90782a7b512ac32" alt="Paste the Octanist setup code in WordPress" width="3626" height="2488" data-path="images/onboarding/wordpress-plugin-setup-code.jpg" />
</Frame>

The plugin is now active.

## Supported form plugins

The WordPress plugin supports these form plugins:

* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/gravity-forms.svg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=c35011f64809dc8b310a828e40977d4d" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="100" height="101" data-path="images/wordpress/plugins/gravity-forms.svg" /> **Gravity Forms**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/contact-form-7.svg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=f3a0596555d91ff1ddc53d444af00872" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="243" height="239" data-path="images/wordpress/plugins/contact-form-7.svg" /> **Contact Form 7**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/wpforms.svg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=3be05c9d8add48da98c66ca9c829fe0f" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="267" height="208" data-path="images/wordpress/plugins/wpforms.svg" /> **WPForms**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/ninja-forms.jpeg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=2e5767b64cea408bc6fc4cf25ece2707" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="400" height="400" data-path="images/wordpress/plugins/ninja-forms.jpeg" /> **Ninja Forms**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/elementor.svg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=1a5357b29f542d918855263efdb47c34" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="32" height="32" data-path="images/wordpress/plugins/elementor.svg" /> **Elementor Forms**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/fluentforms.svg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=b433a99a2a2a059844d463a9dec66ec9" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="300" height="300" data-path="images/wordpress/plugins/fluentforms.svg" /> **Fluent Forms**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/formidable.png?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=355482e4fa32e0380831844d5ed48417" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="235" height="234" data-path="images/wordpress/plugins/formidable.png" /> **Formidable Forms**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/forminator.png?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=76082fef8c068cb0dc649217e9e2f148" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="256" height="256" data-path="images/wordpress/plugins/forminator.png" /> **Forminator**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/sureforms.svg?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=858820764969b3dddaf7d192fd4f2470" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="150" height="150" data-path="images/wordpress/plugins/sureforms.svg" /> **SureForms**
* <img src="https://mintcdn.com/octanist/lH1M_v7fYjs158E7/images/wordpress/plugins/divi.png?fit=max&auto=format&n=lH1M_v7fYjs158E7&q=85&s=4dde315452fd9e5b137ecdd5cef47883" style={{ width: "22px", display: "inline", verticalAlign: "middle", marginRight: "8px" }} width="192" height="192" data-path="images/wordpress/plugins/divi.png" /> **Divi Contact Form**

If you use an iframe form or another form plugin, choose **Something else / not sure** in Octanist and contact support if the test lead does not appear.

## Test the setup

1. Open your live website in a new browser session.
2. Submit a test form with a name, email, phone number, or another useful field.
3. Open Octanist and check whether the lead appears.
4. In WordPress, open **Settings > Octanist** and check the health panel if the lead does not arrive.

## Consent mode

Use **Auto** unless your consent setup requires a different mode.

| Mode    | When to use it                                                               |
| ------- | ---------------------------------------------------------------------------- |
| Auto    | Recommended. Octanist tries to detect consent from your consent banner.      |
| Granted | Use only when the plugin loads after consent is already granted.             |
| Denied  | Use when you need cookieless tracking and no marketing or analytics consent. |

For more detail, see [Consent mode](/docs/user-consent/consent-mode).

## Troubleshooting

<AccordionGroup>
  <Accordion title="No leads appear in Octanist">
    * Confirm the setup code is saved in **Settings > Octanist**.
    * Clear your website cache, page cache, and CDN cache.
    * Refresh the page where the form is shown.
    * Submit a new test form after clearing the cache.
    * Confirm the submitted form contains at least one useful field, such as name, email, phone, or custom data.
    * Check the health panel in the plugin settings.
  </Accordion>

  <Accordion title="The old script still loads">
    * Clear your WordPress caching plugin cache.
    * Clear any server-side cache from your hosting provider.
    * Clear CDN cache if you use Cloudflare, Vercel, or another CDN.
    * Open the website in an incognito window and test again.
  </Accordion>

  <Accordion title="Duplicate leads appear">
    * Make sure the same form is not also sent through GTM, Zapier, or a custom API integration.
    * If you also installed the normal tracking pixel, remove form capture from one of the two setups.
  </Accordion>

  <Accordion title="Your form plugin is not listed">
    * Choose **Something else / not sure** in Octanist.
    * Submit a test form.
    * If the lead does not appear, contact support at [support@octanist.com](mailto:support@octanist.com).
  </Accordion>
</AccordionGroup>

## Technical notes

The plugin installs Octanist through WordPress and sends supported form submissions to Octanist from the WordPress backend. This is usually more reliable than relying only on browser-side form detection.

The plugin also helps serve tracking through your WordPress website, so most WordPress sites do not need a separate tracking subdomain.

If Octanist is temporarily unreachable, the plugin can queue failed form submissions and retry them with WP-Cron.

Existing settings from older Octanist plugin versions are preserved during the update. Old field mappings, debug mode, AJAX mode, and dataLayer options are no longer used by the new setup.

## Next steps

After WordPress tracking is active, connect your outgoing integrations:

* [Google Ads](/docs/outgoing-integrations/google-ads)
* [Google Analytics](/docs/outgoing-integrations/google-analytics)
* [Meta](/docs/outgoing-integrations/meta)
* [Microsoft Ads](/docs/outgoing-integrations/microsoft-ads)
