Consent logs never recorded
-
On a production WordPress site I cannot get any consent log recorded, even though Consent Logging is enabled. The consent log list stays at 0 entries.
After debugging the frontend network traffic, the root cause is clear: when a visitor makes a choice on the banner (e.g. “Accept All”), the plugin sends the consent POST request to a URL that is missing the WordPress REST prefix “/wp-json/”, so it returns 404 and the log is never written.
Secondary note: the built-in site scanner reports “success” but finds 0 cookies, while the site clearly sets GA4 and Microsoft Clarity cookies after consent (and an external scanner detects them). This may be expected because script blocking prevents tags from firing before consent, but please confirm whether the scanner is supposed to detect post-consent cookies.
You must be logged in to reply to this topic.