From 849d862fb23592d97c8a4fbc0007b6ed4c69fbbd Mon Sep 17 00:00:00 2001 From: Anna Frankova Date: Fri, 26 Apr 2024 12:55:17 +0200 Subject: [PATCH] ga-consent Add `ad_personalization` to denied consent settings. --- .changeset/empty-snails-share.md | 9 +++++++++ packages/plugin-analytic-google/src/main.ts | 3 ++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/empty-snails-share.md diff --git a/.changeset/empty-snails-share.md b/.changeset/empty-snails-share.md new file mode 100644 index 00000000..a4c17723 --- /dev/null +++ b/.changeset/empty-snails-share.md @@ -0,0 +1,9 @@ +--- +"@ima/plugin-analytic-google": patch +--- + +Missing consent setting + +- **What?** Adds a missing consent setting. +- **Why?** We need to deny it. +- **How?** Nothing. diff --git a/packages/plugin-analytic-google/src/main.ts b/packages/plugin-analytic-google/src/main.ts index 9e2d73f7..361aaf65 100644 --- a/packages/plugin-analytic-google/src/main.ts +++ b/packages/plugin-analytic-google/src/main.ts @@ -12,12 +12,13 @@ pluginLoader.register('@ima/plugin-analytic-google', () => ({ analytic: { google4: { consentSettings: { + ad_personalization: 'denied', ad_storage: 'denied', + ad_user_data: 'denied', analytics_storage: 'denied', functionality_storage: 'denied', personalization_storage: 'denied', security_storage: 'denied', - ad_user_data: 'denied', }, service: 'G-XXXXXXXXXX', waitForUpdateTimeout: 5000,