Docs

Global Settings Reference

2 min readUpdated April 20, 2026

Global settings apply across every integration and checkout source on your site. You’ll find them in the WP Smart Consent dashboard under the Settings tab.

Opt-In Label#

The text displayed next to the checkbox on every checkout and form where WP Smart Consent is active. The default is “Subscribe to the newsletter” — change it to whatever fits your brand and context.

If you’re running a multilingual site with WPML or Polylang, a separate label field appears for each active language so you can localize the text without any custom code.

Pre-Checked Checkbox#

When enabled, the checkbox arrives already ticked and visitors must manually uncheck it to opt out. When disabled, the checkbox is empty by default and visitors must actively tick it to opt in.

For most use cases — and any site with EU visitors — leave this off. An unchecked default is the safer, more compliant choice. If you want to pre-check for non-EU visitors only, use the GDPR geo-detection setting below rather than enabling this globally.

GDPR Geo-Detection#

When enabled, the checkbox state is automatically adjusted based on the visitor’s country. Visitors in GDPR-covered countries get an unchecked checkbox regardless of the Pre-Checked setting. Visitors outside those countries get whatever state the Pre-Checked setting dictates.

Country detection works through a priority chain — the first available signal wins:

  1. Cloudflare CF-IPCountry header
  2. Bunny.net CDN-RequestCountryCode header
  3. WooCommerce Geolocation
  4. wpsc_geo cookie set on a prior uncached page load

On CDN-cached pages where PHP never runs, a lightweight AJAX request fires once to detect the country, sets a cookie, and corrects the checkbox state client-side — no page reload required. Every subsequent cached load reads the cookie instantly.

Enable Logging#

When enabled, every opt-in event is recorded in the Customers Log with the contact’s name, email, timestamp, and the source integration that captured it. Enabled by default.

Disabling this stops new entries from being written but does not delete existing log data. If you need a record of consent for compliance purposes, keep this on.

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