Privacy and consent

Connect your consent tool

Updated

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

ToolAnalytics by defaultMarketing by default
Shopify Customer Privacy APIanalyticsmarketing
OneTrustC0002C0004
Cookiebotstatisticsmarketing
Usercentricsfunctionalmarketing
Didomimeasure_content_performancecookies
CookieYesanalyticsadvertisement
iubenda45
Termlyanalyticsadvertising
Complianzstatisticsmarketing
OsanoANALYTICSMARKETING
TrustArc23
IAB TCF v2.2 (any TCF banner)purposes 1 and 8purpose 1
Google Consent Mode v2analytics_storagead_storage, ad_user_data
WP Consent API (WordPress consent plugins)statisticsmarketing

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

  1. Open the consent settings

    Select the store, then Settings › Store, section Consent.

    The top of the store settings in ROASaurus: the checkout type and, in the Consent section, the consent mode select.
    Settings › Store, Consent section, in the public demo (fictional store).
  2. Pick the tool

    Under Consent tool, choose your tool, or keep Detect automatically, which tries the tools in a fixed order.

  3. 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.

  4. 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"
ROASaurus cannot read your tool: pick it explicitly instead of Detect, and check the category ids. Some tools only answer once their own script has loaded, so load the banner before the ROASaurus script.
Visitors who accepted still count as declined
Your marketing mapping lists an id the banner never grants. Remove it, or use the id your banner really uses for advertising.

Next step

See which cookies ROASaurus sets

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.