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.
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.
- Install. Open CookieRay GDPR Consent Banner on the Shopify App Store, click Install, choose your store and approve. It is free — no credit card.
- 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.
- 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 | |
|---|---|
| Shopify | Any Online Store 2.0 theme, through an app embed |
| Google Analytics, Google Ads, Google Tag Manager, Consent Mode v2 | |
| Admin language | English — every banner text is editable, so visitors can see your own wording |
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.
- In your Shopify admin, go to Online Store → Themes and click Customize on your live theme.
- Open App embeds in the theme editor sidebar and switch CookieRay on.
- 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
- Install CookieRay from the Shopify App Store.
- Activate the app embed in your theme editor.
- Choose a banner template on the Banner Design page.
- Set your brand colours and text.
- Add your privacy policy link.
- Turn on Google Consent Mode v2 (optional).
- Run your first cookie scan.
- Review your analytics after 24 hours.
What visitors experience
- A visitor arrives and CookieRay detects their region.
- If the region requires consent, the banner is shown. Otherwise they browse with no banner.
- The visitor accepts, rejects or customises.
- The choice is saved in their browser, and Google Consent Mode is updated if you turned it on.
- 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:
| Template | Where it sits |
|---|---|
| Bottom Bar | Across the bottom of the page |
| Top Bar | Across the top of the page |
| Modal | A popup in the centre |
| Corner Popup | A 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:
| Region | Regulation |
|---|---|
| Europe (EU + UK) | GDPR + ePrivacy |
| United States (California) | CCPA / CPRA |
| Brazil | LGPD |
| Canada | PIPEDA |
| Thailand | PDPA |
| South Africa | POPIA |
| Japan | APPI |
| Australia & New Zealand | APA-NZPA |
| United Arab Emirates | PDPL |
| India | DPDP |
Region detection uses geojs.io, and no personal data is sent to it.
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.
Google Consent Mode v2
Turn on Google Consent Mode V2 in your CookieRay settings. CookieRay then fires the gtag consent signals itself, so it works with Google Tag Manager and with standalone Google Analytics or Ads — no extra app or code.
| Visitor allows | Signals updated |
|---|---|
| Analytics cookies | analytics_storage |
| Marketing cookies | ad_storage, ad_user_data, ad_personalization |
| Preference cookies | personalization_storage |
Every signal is denied until the visitor chooses; their choice is then sent with gtag('consent', 'update'). You can also set:
- Wait for update — a 0–2000 ms delay for the visitor's answer.
- Ads data redaction — redact ad-click data when consent is denied.
- URL passthrough — pass consent information through URL parameters.
- Custom data layer name — use your own data layer variable.
Check it works
- Open your store in a private window (from a region that shows the banner).
- In the browser console, type
dataLayer— you should see aconsentdefaultentry with denied values. - Accept the banner and check that a
consentupdateentry follows. Google's Tag Assistant shows the same.
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
| Problem | What to check |
|---|---|
| No banner on the store | The 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 me | You already answered it, so your choice is saved. Open a private window, or clear the site's cookies. |
| No banner from my country | Your region may not require consent. Test with a VPN set to an EU country — see Regional targeting. |
| Changes don't appear | Save in the CookieRay dashboard, then reload the store in a private window. |
| Google tags ignore the choice | Google 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.
Running stores on other platforms too? CookieRay Web App puts every site in one dashboard.