Skip to content

Introduction

Campaign (trk/processwire-campaign) is a native email marketing and lifecycle messaging engine for ProcessWire 3 (Campaign::requireInstance($this)). Built on Entries, Contacts, Inertia, and React, it stores editorial records in hidden Entries blueprints and high-volume subscriber, recipient, link, event, and suppression ledgers in portable Managed SQL Tables.

Setup > Campaigns (ProcessCampaign) centralizes campaigns, mailing lists, dynamic segments, sendouts, suppressions, and settings.
flowchart LR
    AUTH["4 Authoring Modes (Rich Text, PHP, Blocks, Raw HTML)"] --> RENDER["CampaignRenderer (CSS Inliner + Plaintext + UTM)"]
    LISTS["Mailing Lists + Dynamic Segments"] --> AUD["Eligible Audience Pipeline (Suppression Filter)"]
    RENDER --> DISP["SendoutDispatcher (5 Sendout Types + Batch Queue)"]
    AUD --> DISP
    DISP --> ESP["WireMail / ESP Transport"]
    ESP --> HOOKS["8 Signed ESP Webhooks + Open/Click Tracking"]

Four Campaign Authoring Modes

Author emails with Rich Text + Brand Layout, confined PHP templates (site/templates/campaigns/*.php), modular Blocks layouts, or Raw HTML with automatic CSS inlining, plaintext conversion, and UTM tagging.

Five Sendout Types & Automation

Dispatch regular, scheduled, automated (5 triggers), recurring (daily, weekly, monthly, or UTC cron), and singular sendouts through throttled background queues.

Dynamic Segmentation & Double Opt-In

Target contacts by profile attributes, tags, roles, list membership, and open/click engagement, backed by Double Opt-In, RFC 8058 one-click unsubscribe, and a Subscriber Preferences Center.

Deliverability, Webhooks & GDPR

Ingest signed bounce and complaint webhooks from 8 ESP providers, maintain a central suppression list, enable anonymous tracking, and anonymize aged tracking PII cleanly.

Next steps