Skip to content

Settings & Configuration

Global settings live in the campaign-settings singleton under Setup > Campaigns > Settings (requiring campaign-admin) and are exposed in PHP as an immutable Totoglu\Campaign\Domain\CampaignSettings snapshot ($campaign->settings()).

Setup > Campaigns > Settings organizes all 23 global configuration fields into 5 tabs.
Setting Key Type Default Description
default_from_name string Campaign Default sender display name when not overridden on a Campaign Type or Campaign.
default_from_email email noreply@<host> Validated sender email address.
default_reply_to email "" Optional default Reply-To email address.
brand_name string Campaign Brand name injected into {{brand.name}} and default email layout headers.
brand_color hex #2563eb Six-digit hex accent color (^#[0-9a-fA-F]{6}$) used for buttons and links in Rich Text brand layouts.
brand_logo image "" Optional brand logo resolved to an absolute HTTP(S) URL (brandLogoUrl).
email_footer_html html "" Default footer markup appended to Rich Text brand layouts (physical address, legal notice, [unsubscribe]).
route_prefix string /_campaign Public URL prefix for tracking, confirmation, unsubscribe, preferences, signup, and webhook routes (normalized via CampaignSettings::normalizeRoutePrefix() and indexed via resolveConfiguredUrlPrefixes()).

Tab 2: Delivery & Throttling (tab_delivery)

Section titled “Tab 2: Delivery & Throttling (tab_delivery)”
Setting Key Type Default Description
batch_size int 50 Recipients processed per background queue batch (1 to 1000).
batch_delay_seconds int 10 Delay in seconds between consecutive batches (0 to 3600).
max_retries int 3 Maximum automatic retry attempts for transient mailer errors (0 to 10).
test_mode bool false Runs rendering and queue logic without sending live external emails.
Setting Key Type Default Description
enable_open_tracking bool true Injects the 43-byte transparent GIF open pixel (/_campaign/o/{token}.gif).
enable_link_tracking bool true Rewrites eligible links into /_campaign/c/{token} tracked redirects.
anonymous_tracking bool false Records aggregate open/click counts without storing subscriber IP addresses or User-Agent strings.
soft_bounce_threshold int 3 Consecutive soft bounces before automatically escalating an address to campaign_suppressions (1 to 20).
event_retention_days int 180 Retention window in days before PruneCampaignDataTask purges aged campaign_events rows (0 disables pruning).
anonymize_after_days int 90 Days after which PruneCampaignDataTask or campaign:anonymize scrubs PII from event rows (0 disables automatic aging).
pending_opt_in_expire_days int 14 Days before unconfirmed Double Opt-In subscriptions expire and are cleaned up (0 disables expiration).

Write-only secret fields masked by CampaignSecretMasker (never echoed back to the browser):

  • webhook_secret_ses (Amazon SES)
  • webhook_secret_postmark (Postmark)
  • webhook_secret_mailgun (Mailgun)
  • webhook_secret_sendgrid (SendGrid)
  • webhook_secret_resend (Resend)
  • webhook_secret_brevo (Brevo)
  • webhook_secret_mailersend (MailerSend)
  • webhook_secret_generic (Generic HMAC-SHA256)

Tab 5: Ecosystem Integrations (tab_integrations)

Section titled “Tab 5: Ecosystem Integrations (tab_integrations)”
Setting Key Type Default Description
forms_auto_subscribe bool true Enables automatic subscription handling on Forms::afterSubmit when Forms is installed.
account_role_sync_enabled bool true Synchronizes Account / ProcessWire user roles onto role-bound Mailing Lists.
forward_headless_webhooks bool true Forwards Campaign delivery and engagement events to Headless outbound webhooks.

Next steps