Skip to content

Commit

Permalink
Update consent.eta in src/public
Browse files Browse the repository at this point in the history
Applies the fix in #10 to the `src/public/partials/consent.eta` file as well.
  • Loading branch information
jradcliff authored Jan 5, 2024
1 parent f0cac1c commit a0d5570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/partials/consent.eta
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
'analytics_storage': consent.analytics ? 'granted' : 'denied',
'personalization': consent.preferences ? 'granted' : 'denied',
};
gtag('consent', 'update', consent);
gtag('consent', 'update', consentMode);
localStorage.setItem('consentMode', JSON.stringify(consentMode));
}

Expand Down

0 comments on commit a0d5570

Please sign in to comment.