mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-19 22:50:14 +00:00
fix cookie consent status
This commit is contained in:
@@ -25,6 +25,7 @@ export const config: CookieConsentConfig = {
|
||||
'<a href="https://marketingplatform.google.com/about/analytics/terms/us/" target="_blank">Google Analytics 4 (dummy)</a>',
|
||||
onAccept: () => {
|
||||
// TODO: load ga4
|
||||
localStorage.setItem('cookie-accepted', 'true');
|
||||
},
|
||||
onReject: () => {
|
||||
console.log('ga4 rejected');
|
||||
|
||||
Reference in New Issue
Block a user