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