How to embed your consent banner on Shopify
Updated this week

You can embed your consent banner on Shopify either by using a plugin or by editing your theme to include the consent banner code.

Using a plugin

Follow these steps to add your consent banner with a plugin:

  1. Log in to your Shopify account and navigate to the Shopify App store by clicking Apps, then Customize your store.

  2. Add a plugin that allows you to add custom code to your Shopify pages, like this one.

  3. Go to your Shopify admin dashboard and click Apps to access your plugin.

  4. Go to your Termly dashboard and select Embed Consent Banner.

  5. Click Copy to Clipboard.

  6. Return to your Shopify dashboard and paste your code snippet into the app’s header section.

  7. Click Save.

  8. You will now need to turn on the code in your Shopify theme customizer. To do so, click Online Store, then click Themes.

  9. In the Current Theme section, click Customize.

  10. Click Theme Settings, then click App embeds to see your apps.

  11. Click the toggle under the correct app to add the code. If you used the suggested app, you will need to select the toggle under XO Insert code Header.

  12. Click Save.

Your consent banner should now appear on your Shopify site.

Manually embedding your consent banner

Follow these steps to manually embed your consent banner:

  1. Go to your Shopify admin dashboard, click Online Store, then click Themes.

  2. In the Current Theme section, click the Actions dropdown, then select Edit code.

  3. Under Layout, select theme.liquid.

  4. Go to your Termly dashboard and select Embed Consent Banner.

  5. Click Copy to Clipboard.

  6. Return to your Shopify dashboard and paste your code snippet directly under the <head> tag.

  7. Click Save.

Your Termly consent banner should now appear on your Shopify page.

Did this answer your question?