Docs

Newsletter Integration

2 min readUpdated April 20, 2026

Newsletter (by Stefano Lissa) is a self-hosted email marketing plugin for WordPress that provides list management and newsletter sending directly from your WordPress admin. Because Newsletter runs directly on your WordPress site, WP Smart Consent integrates with it via Newsletter’s native PHP API — no external API key or internet connection required.

What You’ll Need#

Newsletter installed and active on the same WordPress site as WP Smart Consent. No API key or account setup is needed beyond that.

Setting It Up#

In the WP Smart Consent dashboard, go to Integrations and find the Newsletter card. Enable it and save. WP Smart Consent will detect Newsletter automatically and begin forwarding opted-in contacts as soon as the integration is active.

What Gets Sent#

When a visitor opts in, WP Smart Consent forwards their first name, last name, and email address to Newsletter via \TNP::subscribe(). The contact is added to your Newsletter subscribers list immediately. If the contact already exists, their record is updated rather than duplicated.

List Assignment#

By default, contacts are subscribed to your default Newsletter list. If you need to assign subscribers to a specific list, this can be controlled programmatically using the wpsc_newsletter_list_id filter.

Works Alongside Other Integrations#

Enabling the Newsletter integration doesn’t affect any of your other active integrations. Each destination is independent — a single opt-in event will be forwarded to Newsletter and every other enabled destination simultaneously, and logged with the source integration that captured it.

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