Docs

Ninja Forms Integration

2 min readUpdated April 20, 2026

Ninja Forms is a flexible WordPress form builder with a drag-and-drop interface and a large library of add-ons. WP Smart Consent integrates with Ninja Forms to add an opt-in checkbox to any Ninja Forms form on your site, with per-form configuration for both Newsletter and Contact modes.

How It Works#

In Contact mode, WP Smart Consent injects the checkbox using inline JavaScript on the nfFormReady event, placing it above the Ninja Forms submit button once the form has finished rendering. In Newsletter mode, no checkbox is shown and every submission is forwarded automatically.

Configuring Per Form#

Ninja Forms settings are configured individually for each form from a dedicated settings page under the Ninja Forms menu in your WordPress admin. To access it, go to Ninja Forms in the sidebar and look for the WP Smart Consent entry. From there you can set the mode per form and control how submissions are handled.

This means different forms on the same site can behave differently — a general contact form can run in Contact mode while a dedicated newsletter signup runs in Newsletter mode.

Enabling the Integration#

In the WP Smart Consent dashboard, go to Integrations and toggle Ninja Forms on. This activates the integration globally — per-form behavior is then controlled from the dedicated Ninja Forms settings page as described above.

Works Alongside Other Integrations#

Enabling the Ninja Forms integration doesn’t affect any of your other active integrations. Each source is independent — opt-ins captured through Ninja Forms are forwarded to the same CRM and ESP destinations as any other source, and are logged with ninjaforms as the source for easy filtering.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only