Commit Graph

4 Commits

Author SHA1 Message Date
5de5b3ddb7 Reduce TCF bridge poll timeout from 10s to 3s (v1.3.4)
10s was unnecessarily long — any EEA user with Funding Choices properly
loaded will have __tcfapi within 3s. Reducing the timeout means non-TCF
visitors (Americas etc.) receive the granted fallback 7 seconds sooner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-09 08:20:36 +01:00
c21b42f6f3 Grant full consent fallback for non-TCF visitors in bridge mode (v1.3.3)
Visitors outside EEA/UK/CH (e.g. Americas) have no __tcfapi injected by
Google Funding Choices, causing the TCF bridge poll to time out and leaving
them permanently at the default denied state. After the 10s timeout, grant
full consent — GDPR opt-in doesn't apply to these visitors and CCPA is
an opt-out model, so granted is the correct default.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-09 08:14:42 +01:00
68e7a6ac35 Fix TCF bridge widget click for Google Funding Choices (v1.3.1)
FC accepts the IAB __tcfapi('displayConsentUi', 2, …) command without
throwing but silently no-ops, which caused the previous order (IAB first,
FC-specific fallback second) to swallow the click. Reorder so that
googlefc.showRevocationMessage() is tried first whenever window.googlefc
is present, with the IAB call kept as the fallback for non-FC CMPs
(Sourcepoint, Didomi, etc).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-30 14:55:28 +01:00
eb35fdabb6 Add TCF v2.2 bridge mode for external CMP integration (v1.3.0)
New cmp_mode setting toggles between the built-in banner (default,
unchanged) and a bridge mode that defers banner UX to an external
IAB TCF v2.2 certified CMP — e.g. Google's free Privacy & messaging
(Funding Choices) or Tarteaucitron.js — and listens to __tcfapi to
keep custom-script gating, attribution preservation, the att_cc_consent
cookie cache and the WP Consent API bridge in sync. Lets sites that
need a Google-certified CMP for EEA/UK AdSense/AdMob serving keep
using this plugin for everything except the consent UI itself.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-30 14:10:58 +01:00