cookie consent for clarity
parent
5e85ac1b85
commit
3799840928
|
@ -63,8 +63,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
console.log("3",)
|
||||
|
||||
window.Shopify.loadFeatures([
|
||||
{
|
||||
name: 'consent-tracking-api',
|
||||
|
@ -75,11 +73,9 @@
|
|||
if (error) {
|
||||
throw error;
|
||||
}
|
||||
console.log("here1")
|
||||
msClarity()
|
||||
|
||||
document.addEventListener('visitorConsentCollected', () => {
|
||||
console.log("here2 visotorConsentCollected")
|
||||
msClarity()
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue