diff --git a/packages/web/src/scripts/consent-banner.js b/packages/web/src/scripts/consent-banner.js index f02cc281..03b55ac1 100644 --- a/packages/web/src/scripts/consent-banner.js +++ b/packages/web/src/scripts/consent-banner.js @@ -52,6 +52,7 @@ analyticsAcceptBtn.addEventListener("click", () => { * @param { Object } preferences */ function updateConsentMode(preferences) { + // eslint-disable-next-line no-undef gtag('consent', 'update', preferences) localStorage.setItem('consentMode', JSON.stringify(preferences)) } \ No newline at end of file