Privacy and consent
Connect your consent tool
ROASaurus reads the visitor's choice from your consent tool itself; there is nothing to install in the tool. Under Settings › Store › Consent tool you can keep Detect automatically or name your tool, and map its categories to analytics and marketing.
Tools ROASaurus reads
| Tool | Analytics by default | Marketing by default |
|---|---|---|
| Shopify Customer Privacy API | analytics | marketing |
| OneTrust | C0002 | C0004 |
| Cookiebot | statistics | marketing |
| Usercentrics | functional | marketing |
| Didomi | measure_content_performance | cookies |
| CookieYes | analytics | advertisement |
| iubenda | 4 | 5 |
| Termly | analytics | advertising |
| Complianz | statistics | marketing |
| Osano | ANALYTICS | MARKETING |
| TrustArc | 2 | 3 |
| IAB TCF v2.2 (any TCF banner) | purposes 1 and 8 | purpose 1 |
| Google Consent Mode v2 | analytics_storage | ad_storage, ad_user_data |
| WP Consent API (WordPress consent plugins) | statistics | marketing |
When a category lists several ids, every one of them must be granted.
Before you start
- A consent mode other than Always track (under Always track, the banner is not read).
- Your consent tool live on every page, including checkout and funnel pages.
- The owner or admin role, to save the settings.
Steps
Open the consent settings
Select the store, then Settings › Store, section Consent.

Settings › Store, Consent section, in the public demo (fictional store). Pick the tool
Under Consent tool, choose your tool, or keep Detect automatically, which tries the tools in a fixed order.
Check the category mapping
Under Category mapping per consent tool, the defaults above are filled in. If your banner uses its own categories or purposes (custom Didomi purposes, a Usercentrics service named ROASaurus), enter their ids, separated by commas.
You should see: Your ids saved next to the tool.
Test it
Open your store in a private window with
?roasaurus=debug, decline in the banner and browse, then accept.You should see: In the browser console, events without a visitor id before you accept, and with one after.
Your own banner
With a banner of your own, call tlq('consent', true) when the visitor accepts marketing cookies and tlq('consent', false) when they decline. Headless storefronts call roasaurus.setConsent(true) or setConsent(false).
Shopify checkout
The checkout pixel always reads Shopify's Customer Privacy API, which consent apps on Shopify fill in. Make sure your consent app passes its choice to Shopify.
Common problems
The Consent report shows almost everyone as "No decision"
Visitors who accepted still count as declined
Next step
See which cookies ROASaurus setsStill stuck? Email us.