Skip to content

Commit

Permalink
Disable Google Click ID being used by default, as it doesn't respect …
Browse files Browse the repository at this point in the history
…GDPR and should be expressively consented to by the end-user
  • Loading branch information
Vadorequest committed Jul 20, 2020
1 parent cc9c50f commit ed5402f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/analytics/amplitude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const sendWebVitals = (report: NextWebVitalsMetricsReport): void => {
// userId: null,
userId: userData.id,
logLevel: process.env.NEXT_PUBLIC_APP_STAGE === 'production' ? 'DISABLE' : 'WARN',
includeGclid: true,
includeGclid: false, // GDPR Enabling this is not GDPR compliant and must not be enabled without explicit user consent - See https://croud.com/blog/news/10-point-gdpr-checklist-digital-advertising/
includeReferrer: true, // https://help.amplitude.com/hc/en-us/articles/215131888#track-referrers
includeUtm: true,
// @ts-ignore XXX onError should be allowed, see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/42005
Expand Down

0 comments on commit ed5402f

Please sign in to comment.