All Logs

Storefront JavaScript API for Cookie Banner & Accessibility Widget

Connect Consentmo with custom storefronts, themes, apps and Hydrogen to control the cookie banner and accessibility widget more easily.
June 8, 2026
Feature

We’ve introduced the Storefront JavaScript API - a new way for merchants and developers to connect Consentmo features with custom storefront experiences.

  • Use Consentmo beyond standard theme setups: The API gives stores more flexibility when working with custom themes, apps and headless storefronts.
  • Control the Cookie banner & Widget: Open the preferences modal, read visitor consent choices, listen for events, and connect Consentmo with custom UI elements.
  • Build customer experiences: Useful for merchants who want custom cookie settings buttons, dedicated accessibility links, footer shortcuts, or fully branded privacy controls.
  • No extra libraries required: The API works through a single global Consentmo object, making it easier to integrate without adding unnecessary storefront complexity.

Open Settings → Storefront JavaScript API to review the available cookie banner and accessibility controls.

Other Updates

Update
Explore the New Analytics & Reports Page
Read more
Update
Smart Language Suggestions for Your Cookie Banner
Read more
Update
Handle More U.S. Privacy Requests With a New Case Dashboard
Read more
Feature
Choose Which Tracker Types Appear on Your Preferences Page
Read more