From 84d65ec25336febd541bc9e093726e11232b93e9 Mon Sep 17 00:00:00 2001 From: Demetrio Girardi Date: Wed, 19 Oct 2022 10:52:22 -0700 Subject: [PATCH] Mark generic analytics as vendorless for gdpr enforcement --- modules/genericAnalyticsAdapter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/genericAnalyticsAdapter.js b/modules/genericAnalyticsAdapter.js index a6fbe7cdbdf2..c6bc07c96857 100644 --- a/modules/genericAnalyticsAdapter.js +++ b/modules/genericAnalyticsAdapter.js @@ -3,6 +3,7 @@ import {prefixLog, isPlainObject} from '../src/utils.js'; import * as CONSTANTS from '../src/constants.json'; import adapterManager from '../src/adapterManager.js'; import {ajaxBuilder} from '../src/ajax.js'; +import {VENDORLESS_GVLID} from '../src/consentHandler.js'; const DEFAULTS = { batchSize: 1, @@ -149,5 +150,6 @@ export function defaultHandler({url, method, batchSize, ajax = ajaxBuilder()}) { adapterManager.registerAnalyticsAdapter({ adapter: GenericAnalytics(), - code: 'generic' + code: 'generic', + gvlid: VENDORLESS_GVLID, });