Cookie Consent Bar (Privacy & Compliance App) with Microsoft Clarity

New Member
7 0 0

Hello! I want to add a cookie consent bar with the Shopiy App "Privacy and Compliance" to a Shopify site but we also are testing Microsoft Clarity. 


Clarity gives instructions on editing code to trigger only when cookie consent has been accepted but I don't know where to add this in the theme code. 


Can anyone help tell me A) where to put the code assuming that the Shopify App Privacy and Compliance has been installed and B) if the Java Script below will work? 


Here is what Microsoft Clarity instructs: 


Screenshot 2023-08-17 at 4.57.19 PM.png

Replies 0 (0)