Skip to content

ConsentAlly works with AI assistants. A merchant can have their assistant set up, sign in to or check their ConsentAlly account from the chat: the assistant needs only the merchant's email address, and the merchant approves it on one ConsentAlly page with a code. Nothing is created or connected before that approval. How it works: https://consentally.com/auth.md

Docs pages

Install on Shopify

On Shopify, ConsentAlly runs as a theme app embed: install the app, switch the embed on in the theme editor and turn Shopify's own cookie banner off. There is no code to paste, and every choice a visitor makes is passed to Shopify, so Shopify's pixels and the checkout follow it.

Turn on the app embed

  1. Install the ConsentAlly app in your Shopify admin.
  2. Open Online Store, then Themes, and select Customize on your live theme.
  3. Open App embeds in the theme editor, switch on Privacy choices (listed under ConsentAlly) and select Save.

App embeds are set per theme: when you publish another theme, switch the embed on there too.

The embed loads ConsentAlly's script as early in the page as Shopify lets an app load, and holds every tag that loads after it. Shopify adds app embeds at the end of the theme's <head>, so any script your theme itself puts in <head> runs before ConsentAlly's. A Google Tag Manager container has to load after ConsentAlly's script: if it is pasted into your theme's <head>, move it to the top of <body> (see Google Tag Manager).

Turn off Shopify's cookie banner

Shopify's own banner and ConsentAlly's would both ask the visitor. In your Shopify admin, open Settings, then Customer privacy, and turn off Shopify's cookie banner in every region where it shows.

If Shopify's banner stays on, visitors can see two banners.

ConsentAlly reads Shopify's consent when a page loads: with no choice of its own yet it takes Shopify's over, and over a choice it already has it follows only a refusal. A choice made in Shopify's banner while it is showing counts from the next page view.

What ConsentAlly passes to Shopify

Every choice a visitor makes goes to Shopify's Customer Privacy API once ConsentAlly has applied it, so Shopify's web pixels, its own analytics and the checkout follow the same choice. As Shopify asks, nothing is set there without the visitor's choice. Each Shopify purpose is granted only when every category behind it is:

ConsentAlly's categories and the Shopify purpose each one sets
ConsentAllyShopify
Functionalpreferences
Analyticsanalytics
Marketingmarketing
A custom categoryThe purpose you gave it, or marketing without one
NecessaryNothing: it is always on
  • Sale of data. ConsentAlly only ever sets sale_of_data to false, with a visitor's choice: when the visitor's Global Privacy Control signal applies under a rule that treats it as an opt-out of sale and sharing, or when a visitor opts out under an opt-out rule. It never sets it back to true. Shopify applies the Global Privacy Control signal itself.

  • Only what was answered. A purpose the visitor has not answered is left as Shopify has it.

  • Each hand-off waits for Shopify up to five seconds and is tried once more. When a withdrawal reloads the page, the reload waits up to two seconds for the hand-off.

Visitors who chose before

A visitor who already answered Shopify's banner, and has no ConsentAlly choice yet, keeps that answer: ConsentAlly takes Shopify's consent over in the same page view. When Shopify has no answer for one of the purposes, or your preference centre lists vendors one by one, the banner still shows so the visitor can answer the rest.

When neither copy of ConsentAlly's stored choice is left (Safari removes storage written by script after seven days), a returning visitor's answer is taken over from Shopify's consent when Shopify still has one.

The checkout

Theme scripts do not run on the checkout. Shopify's web pixels run there, a tag manager added as a custom pixel included, in Shopify's sandbox, and Shopify's Customer Privacy API applies to them the decision ConsentAlly passed it.

Where it runs

The Shopify hand-off runs only on the storefront of a store set up in ConsentAlly as a Shopify store, on pages where Shopify identifies the shop as a myshopify.com store. On any other site nothing of Shopify's is read, called or requested.