Skip to main content

Shopify installation

Comments

3 comments

  • Boubacar

    Great tutorial!
    But how to enable "prior consent" on Google analytics when it is implemented with the Shopify app "Google and Youtube"?

    -1
  • Andrew Bennett

    This approach is spot on for implementing prior consent correctly under GDPR. I’ve used the data-cookieconsent attribute with several third-party scripts, and switching the script type to text/plain effectively prevents execution until the user gives explicit consent. It’s especially important to categorize each script properly — I’ve seen cases where mislabeling (like tagging analytics as "preferences") led to compliance issues during audits. For Google Analytics or marketing tags, wrapping them this way ensures that consent is truly respected before any data is collected. Great example — very clear!

    0
  • Asif Ali

    This guide is really straightforward—thanks for breaking it down step by step. I’ve struggled with cookie consent setup on Shopify before, and the explanation about handling scripts with type="text/plain" was especially useful. It’s good to see more resources that make compliance easier for store owners.

    0

Please sign in to leave a comment.