Skip to main content
In modal mode, a floating button appears on every page. It opens the analysis on top of the page, so shoppers never leave what they’re browsing. No container element is needed. On phones the modal covers the whole screen. On tablets and desktops it opens as a centered window (90% of the screen, up to 1140 × 800 px) over the dimmed page.

Add the modal

Load this on every page where the button should appear — for example in your site layout.

Send shoppers to the cart

Use onCloseModal to react when the shopper closes the modal — for example, go to the cart if they added products:
See Events for every callback.

When to use it

  • You want the scan available everywhere, without changing page layouts.
  • Shoppers should be able to scan from a product page and come back to it.
Building a page that is only the scan? Use fullscreen mode — it opens right away over the whole screen.