Skip to content
Docs / Shopify app

CookieRay for Shopify

A Shopify app that adds a consent banner to your storefront from the theme editor — no Liquid, no code. Regional targeting, Google Consent Mode v2, a cookie scanner and consent logs are built in.

Online Store 2.0 themesFree for every storeLive in under 5 minutes

Start here

CookieRay for Shopify lives inside your Shopify admin. There is nothing to sign up for on this site — you install it from the Shopify App Store and manage it from your store.

  1. Install. Open CookieRay GDPR Consent Banner on the Shopify App Store, click Install, choose your store and approve. It is free — no credit card.
  2. Open the app. CookieRay appears under Apps in your Shopify admin sidebar. Click it to open the CookieRay dashboard, where you design the banner, run scans and read logs.
  3. Switch it on in your theme. The banner shows only after you turn on the CookieRay app embed in the theme editor and save.
!

Installing the app alone does not show a banner. If you see nothing on your store, the app embed is almost always still off — see Activate the app embed.

Overview

CookieRay for Shopify shows a customisable consent banner, keeps an audit trail of every visitor's choice, syncs that choice with Google Consent Mode v2, and scans your store for cookies. It is free for all Shopify stores, with no usage limits.

Works with
ShopifyAny Online Store 2.0 theme, through an app embed
GoogleGoogle Analytics, Google Ads, Google Tag Manager, Consent Mode v2
Admin languageEnglish — every banner text is editable, so visitors can see your own wording
i

CookieRay gives you tools that help you comply with privacy regulations. It is not legal advice — what you owe depends on your business, so check with a qualified professional.

Activate the app embed

CookieRay installs as a Shopify app embed, so it works with every Online Store 2.0 theme without editing theme files or pasting code.

  1. In your Shopify admin, go to Online Store → Themes and click Customize on your live theme.
  2. Open App embeds in the theme editor sidebar and switch CookieRay on.
  3. Click Save. The banner goes live on your storefront straight away, with the default template and settings.
✓

The theme editor's preview shows exactly how the banner looks before you publish. The CookieRay dashboard has its own live preview too.

Change theme later? App embeds are switched on per theme — turn CookieRay on again in the new theme before you publish it.

Setup checklist

  1. Install CookieRay from the Shopify App Store.
  2. Activate the app embed in your theme editor.
  3. Choose a banner template on the Banner Design page.
  4. Set your brand colours and text.
  5. Add your privacy policy link.
  6. Turn on Google Consent Mode v2 (optional).
  7. Run your first cookie scan.
  8. Review your analytics after 24 hours.

What visitors experience

  1. A visitor arrives and CookieRay detects their region.
  2. If the region requires consent, the banner is shown. Otherwise they browse with no banner.
  3. The visitor accepts, rejects or customises.
  4. The choice is saved in their browser, and Google Consent Mode is updated if you turned it on.
  5. The decision is logged with an ID, categories, device, location, a cookie snapshot and the expiry.

The visitor's choice is remembered, so the banner does not show again until consent expires — 6 months by default, adjustable in your CookieRay settings. CookieRay also honours the browser's Do Not Track signal.

Banner templates

Pick a template on the Banner Design page:

TemplateWhere it sits
Bottom BarAcross the bottom of the page
Top BarAcross the top of the page
ModalA popup in the centre
Corner PopupA small card in a corner

Customise the banner

  • Colours and fonts — full control over every colour and typeface.
  • Logo — upload your brand logo to show on the banner.
  • Text — the message, every button label (Accept, Decline, Customize) and the privacy policy link text.
  • Consent options — accept/decline, decline only, or custom preferences by category.
  • Display delay — under Banner Settings, set how many milliseconds after page load the banner appears.
  • Animation — slide, fade or zoom the banner into view.
  • Custom CSS — for styling beyond the built-in options.
  • Branding — remove the “Powered by” line.

The banner script is lightweight and loads asynchronously, so it does not hold up your store's page load.

Regional targeting

CookieRay detects each visitor's region and shows the banner only where a regulation requires consent. Visitors from other regions browse without a banner. It covers 11 regulations:

RegionRegulation
Europe (EU + UK)GDPR + ePrivacy
United States (California)CCPA / CPRA
BrazilLGPD
CanadaPIPEDA
ThailandPDPA
South AfricaPOPIA
JapanAPPI
Australia & New ZealandAPA-NZPA
United Arab EmiratesPDPL
IndiaDPDP

Region detection uses geojs.io, and no personal data is sent to it.

i

Testing from a country that is not on this list? You won't see the banner — that is expected. Use a VPN set to an EU country to check it.

Cookie scanner

The scanner finds the cookies, localStorage and sessionStorage entries on your store and sorts them into necessary, analytics, marketing and functional by pattern matching. Each entry shows its name, domain, duration and the secure, httpOnly and sameSite flags; Scan History keeps every scan with its date and result count.

  • Run a scan whenever you install a new app, change your theme or add a third-party script — and quarterly as good practice.
  • Uncategorized means the scanner couldn't tell what a cookie is for. Review it and assign the right category.
  • Add cookies by hand if you know of ones the scanner missed — for example, cookies set by scripts that load only sometimes.

Consent logs and receipts

Every visitor's choice is logged with the action (Accepted All, Customized or Rejected), categories, time, device, location and a snapshot of the cookies active at that moment.

  • Consent receipt — proof of one visitor's decision: a unique ID, the action, categories, time, expiry date, device, location and the cookie snapshot.
  • CSV export — download consent logs for any time range from the dashboard, for example for a regulator or legal review.
  • Retention — logs are kept for the period you set in the dashboard.

Analytics

The dashboard shows consent decisions over time (accepted, customised, declined), the accept rate, opt-in rates per category, and a breakdown by device and country — over 7, 30, 90 or 365 days. Reports export as CSV for any range.

Troubleshooting

ProblemWhat to check
No banner on the storeThe CookieRay app embed is on and saved in the theme you have published — not only in a draft theme.
Banner shows for others but not for meYou already answered it, so your choice is saved. Open a private window, or clear the site's cookies.
No banner from my countryYour region may not require consent. Test with a VPN set to an EU country — see Regional targeting.
Changes don't appearSave in the CookieRay dashboard, then reload the store in a private window.
Google tags ignore the choiceGoogle Consent Mode V2 is on, and your tags read the default data layer (or the custom name you set).

FAQ

Do I need to edit any code or theme files?

No. CookieRay is a Shopify app embed — you switch it on in the theme editor. No Liquid files, snippets or manual script tags.

Will the banner appear as soon as I activate the embed?

Yes. Once the embed is on and saved, the banner appears on your live store with the default template and settings.

Can I preview the banner before it goes live?

Yes — in the Shopify theme editor's preview, and in the CookieRay dashboard's built-in preview.

Will CookieRay slow down my store?

No. The script is lightweight and loads asynchronously, so it doesn't hold up your page load.

How do I prove consent if I'm audited?

Every decision is logged with its action, categories, time, device, location and a cookie snapshot. Download a receipt for one visitor, or export the logs as CSV.

Is it really free?

Yes — every feature, no usage limits. Optional paid plans may come later; early adopters will be rewarded.

Data and privacy

About visitors, CookieRay stores
An anonymised visitor ID, the consent action and categories
An anonymised IP address (last octet removed) and the country
A shortened user agent (for example “Chrome / macOS”) and device type
The page URL, time, consent expiry and cookie snapshot

No raw IP addresses are stored, data is encrypted in transit, and visitor data is not sold or shared with third parties. From your store, the app reads only the store owner's contact details (name, email, phone and address). Uninstalling the app permanently deletes all of your shop's data. Read the full privacy policy.

Pricing and support

CookieRay for Shopify is free for all Shopify stores, with every feature included and no usage limits. Optional paid plans may come later; early adopters will be rewarded.

Need help? Use the contact form (Shopify app is already selected) or email [email protected] — we usually reply within 24 hours.

i

Running stores on other platforms too? CookieRay Web App puts every site in one dashboard.

Free scan

yourwebsite.com

  1. Starting a real browser
  2. Opening pages
  3. Recording cookies and network requests
  4. Matching against 58 known trackers

Usually under a minute. We open the first 5 pages, before anyone consents.