Developers
JavaScript client
Open the Entase checkout from your own website — as an inline panel or a pop-up window — with a small script loaded from our CDN.
- Overview The Entase JavaScript client opens the checkout from your own website, either as an inline panel or a pop-up window, without sending the visitor to another page.
- Installing the client Load client.js from the Entase CDN, then create an instance. There is no package to install and no build step.
- Constructor options Every option accepted by new Entase(), with its default and its effect. All options are optional, and most can be overridden per booking.
- Checkout modes How the client chooses between the inline panel and a pop-up window, why trusted origins decide it, and what to expect during local development.
- Opening the checkout The book() method opens the checkout for one event, and accepts per-call overrides plus a client context you can carry through to your own systems.
- Events Listen for the checkout opening, closing and recording consent with on() and off(), and understand the one-listener-per-event rule.
- Methods reference The complete public surface of the Entase client — booking, event subscription, runtime getters and setters, and teardown.
- Tracking and consent Pass campaign and attribution parameters through to the checkout, and control the terms notice shown to first-time buyers.
- Advanced embed options The embed widget accepts more configuration than the copy-and-paste snippet shows, including passing client options through to the checkout it opens.
- Troubleshooting The failures that come up most often when integrating the client — inline checkout falling back to a pop-up, blocked windows, missing containers and console warnings.