Skip to content

Commit

Permalink
Mark generic analytics as vendorless for gdpr enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed Oct 19, 2022
1 parent 23741bb commit 51060ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/genericAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -149,5 +150,6 @@ export function defaultHandler({url, method, batchSize, ajax = ajaxBuilder()}) {

adapterManager.registerAnalyticsAdapter({
adapter: GenericAnalytics(),
code: 'generic'
code: 'generic',
gvlid: VENDORLESS_GVLID,
});
Empty file removed modules/genericAnalyticsAdapter.md
Empty file.

0 comments on commit 51060ff

Please sign in to comment.