Skip to content

E-commerce · Install guide

Cookie consent for Magento (Adobe Commerce)

Updated

Magento lets you add head scripts per store view from the admin, so different store views (countries) can use different Kiescy websites if you want.

Setup time
About 5 minutes
Coding
None: copy and paste
Laws covered
GDPR, UK GDPR, CCPA, DPDP
Google Consent Mode v2
Built in, basic or advanced

Set up cookie consent on Magento (Adobe Commerce) in 3 steps

  1. Create a free accountAdd your website. Kiescy scans it and finds the trackers that need consent.
  2. Paste one script into Magento (Adobe Commerce)Your banner appears and starts holding back trackers until visitors choose.
  3. Check it worksOpen your site in a private window and run the free check to confirm nothing loads early.

Why Magento (Adobe Commerce) sites need cookie consent

Magento stores tend to be large, multi-country operations with many marketing extensions. They sit squarely within GDPR scope and often meet CCPA thresholds too.

Your options on Magento (Adobe Commerce)

ApproachGood forWatch out for
Cookie Restriction ModeA basic noticeAll-or-nothing; no categories, regional rules or records
A Marketplace GDPR extensionAdmin-managed setupsVaries; check Consent Mode v2 support
KiescyMulti-store, multi-regionTheme scripts only; server-side tracking needs its own checks

Add your privacy policy

Create a CMS page (Content → Pages), paste the embed in the HTML editor, and link it in the footer links block.

CMS page
<div data-kiescy-doc="privacy"></div>
<script src="https://script.kiescy.com/embed/policy/YOUR_SITE_KEY.js" async></script>

Good to know

Magento's built-in Cookie Restriction Mode (Stores → Configuration → General → Web → Default Cookie Settings) shows a simple notice. Turn it off when you use Kiescy so shoppers see one banner.

Check that it works

Open your site in a private window: the banner should appear for a first-time visitor. Then run the free privacy check, which opens your site as a new EU visitor and lists anything that still loads before consent.

Kiescy's monitoring repeats that check on a schedule and emails you if a new script starts tracking before consent.

What your Magento (Adobe Commerce) visitors see

Kiescy detects where each visitor is and shows the version their law requires, so you don't have to choose between the strictest banner for everyone and no banner at all.

GoodEU, UK, India and other opt-in regions: an opt-in banner. Analytics, ad pixels and embeds wait until the visitor agrees; Reject is as easy as Accept. Banner text: We value your privacy. We use cookies to run this site and, with your permission, to measure visits and show relevant ads. Buttons: Accept all, Reject all, Customise.
GoodCalifornia and other US states: an opt-out notice with a "Do Not Sell or Share" link, and Global Privacy Control honoured automatically. Banner text: Your privacy choices. We share some data with advertising partners. You can opt out at any time. Buttons: Do Not Sell or Share My Personal Information, OK.

Trackers Magento (Adobe Commerce) sites usually load

These are the tools that most often need consent on Magento (Adobe Commerce) sites, and how Kiescy treats them. Run a cookie scan to see exactly what yours loads.

ToolCategoryWhat happens
Google Analytics / Google Ads extensionsAnalytics / advertisingConsent Mode signals from Kiescy
Meta Pixel extensionsAdvertisingHeld back once your scan finds them
Live chat, reviewsPerformanceThird-party scripts
Payment providers (Adyen, Braintree, PayPal)EssentialCheckout

Cookies Magento (Adobe Commerce) sets itself

Besides the tools you add, Magento (Adobe Commerce) sets some cookies of its own. Essential ones don't need consent, but they belong in your cookie policy.

CookiePurposeCategory
PHPSESSIDShopper sessionEssential
form_keyProtects forms against forgeryEssential
mage-cache-sessid, mage-cache-storageKeeps cached customer data in syncEssential
private_content_versionShows the right cart and account contentEssential
user_allowed_save_cookieStores the choice in Cookie Restriction ModeEssential

Names and lifetimes change over time, so treat this as a guide and rely on your own scan for your cookie policy.

Troubleshooting

The change doesn't appear on the storefront

Flush the full page cache and Varnish if you use it, and check you edited the right scope (store view vs website).

A tracker loads via RequireJS before consent

Run a cookie scan so the tracker's domain is in your block list; Kiescy intercepts scripts added dynamically too.

Compliance checklist for Magento (Adobe Commerce)

  • A consent banner that blocks non-essential trackers until the visitor agrees (opt-in for the EU, UK and India).
  • A "Do Not Sell or Share" option for California visitors, and Global Privacy Control honored.
  • A privacy policy that names the tools above, linked from every page.
  • A cookie policy listing the cookies your scan finds.
  • A way for people to request, correct or delete their data.
  • Records of each consent choice, kept as proof.
  • Cookie Restriction Mode turned off once Kiescy is live.
  • Privacy policy and terms linked at checkout and in the footer.

Guides for Magento (Adobe Commerce) site owners

Questions

Does it work with Hyvä themes?

Yes. The HTML Head setting applies regardless of the frontend theme.

Can each store view have its own banner?

Yes. Add each storefront as a website in Kiescy and paste that site's script into the matching store view's HTML Head.

Get compliant this afternoon, not this quarter.

Set up your policies, banner and request form in one place. Free while Kiescy is in early access.