cookie consent for clarity

main
alexanderroese 2024-07-13 11:02:15 +02:00
parent 5e85ac1b85
commit 3799840928
1 changed files with 0 additions and 4 deletions

View File

@ -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()
});
});