App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
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:
Looks like you never got a reply to this!
FYI, a Dev I was talking to today said the native Shopify Cookie Banner isn't compatible with Clarity - you need one of the 3rd-party consent apps. I don't know why - perhaps having a Javascript API is something only the paid apps have. But it's a shame Shopify doesn't make their banner compatible.