Use consentv2 API
This commit is contained in:
@@ -80,6 +80,11 @@
|
|||||||
y = l.getElementsByTagName(r)[0];
|
y = l.getElementsByTagName(r)[0];
|
||||||
y.parentNode.insertBefore(t, y);
|
y.parentNode.insertBefore(t, y);
|
||||||
})(window, document, 'clarity', 'script', 'vuo5q3yf79');
|
})(window, document, 'clarity', 'script', 'vuo5q3yf79');
|
||||||
|
|
||||||
|
window.clarity('consentv2', {
|
||||||
|
ad_Storage: 'granted',
|
||||||
|
analytics_Storage: 'granted',
|
||||||
|
});
|
||||||
} catch (e2) {
|
} catch (e2) {
|
||||||
console.error('Failed to load Microsoft Clarity', e2);
|
console.error('Failed to load Microsoft Clarity', e2);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user