Installing Conzent with Shopify

This tutorial will guide you through the steps to install Conzent in your Shopify store.

Begin by navigating to the Online Store.

Next, click on Theme.

On the theme you are currently using, click on the three dots located to the right.

Then, select Edit Code.

Snapshot


Scroll down to Snippets.

Click on Add a New Snippet.

Name the snippet conzent.

You may choose a different name, but using zoncent will allow you to utilize the provided example.


Click Done.

Next, insert the script obtained from the Conzent backend in the same manner as you would on any other site. It will look something like this.

<!-- Start Conzent banner -->

<script id="conzentbanner" type="text/javascript" src="https://conzent.net/app/sites_data/xxxxxxxxxxxx/script.js">

</script>

<!-- End Conzent banner -->

Remember to change the x's with you own key.


Ensure you change the access to your website key.

If you copy it directly from the Consent backend, it will be pre-filled for you.


Since this is Shopify, you need to add one more line.

<script async type="text/javascript" src="https://conzent.net/app/js/shopify.js"></script>


Click on Save.

Then, return to the theme.liquid file.


Just after the header, insert the render of the snippet you created.

The name is conzent, which matches the name used in the Conzent snippet.

Click Save again.


Now, go back.

You can view your store to confirm that you have successfully enabled Conzent on Shopify.

Snapshot


By following these steps, you have successfully installed Conzent in your Shopify store.

Did you find this guide helpful?