Knowledge Center Blog
  • Theme
  • Auto
  • Light
  • Dark
English EN (GB)
Language ✕
  • Deutsche
  • Eesti
  • English
  • Español
  • Français
  • Hrvatski
  • Italiano
  • Latviešu
  • Lietuvių
  • Lëtzebuergesch
  • Malti
  • Nederlands
  • Português (BR)
  • Português (PT)
  • Română
  • Slovenčina
  • Slovenščina
  • Srpski
  • Suomi
  • Türkçe
  • Ελληνικά
  • Български
  • Русский
  • Українська
Log in
Developers Blog
Log in
Home Developers JavaScript client Advanced embed options
Search
Developers
JavaScript client
  • Overview
  • Installing the client
  • Constructor options
  • Checkout modes
  • Opening the checkout
  • Events
  • Methods reference
  • Tracking and consent
  • Advanced embed options
  • Troubleshooting
REST API (v2)
PHP SDK
Node.js SDK
Python SDK
WordPress plugin
JavaScript client

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.

description View as Markdown

The embed codes generated in your Entase account drop a ready-made event widget into a page. They are designed to be copied and pasted with no development work — see Embedding events on your website for how to get one.

This page documents the options you can add to that snippet, and how to configure the checkout it opens.

The widget loads the JavaScript client itself, so you do not add client.js alongside it. It also does not need a publishable key: the widget is served by Entase, so the checkout is authorized through the widget rather than through a key on your page.

Configuration

Each widget is configured with an options object:

HTML
12345678910
<div id="entase_OBJ_CODE"></div>
<script>
  window.entase = window.entase || { o: [] };
  window.entase.o.push({
    obj: 'OBJ_CODE',
    theme: 'dark',
    ext: true
  });
</script>
<script src="https://js.entase.com/embed.js" async></script>

obj ties the configuration to its container: the widget renders into the element whose id is entase_ followed by the same code. If that element is missing, the widget logs a warning and renders nothing.

Push one entry per widget to place several on a page.

NameTypeDefaultDescription
objstring—The object code from your embed snippet. Required.
widthstring'auto'Container width as a CSS value. 'auto' means full width.
heightstring'auto'Container height as a CSS value. 'auto' starts at 200px and the widget resizes itself to fit its content.
themestring'light''light' or 'dark'.
localestring'auto'Widget language. 'auto' reads the lang attribute of your <html> element.
extbooleanfalseExtended layout — adds the event name and poster above the dates.
attributionbooleantrueShows the Entase attribution line. Set to false to hide it.
clientobject{}Options passed to the JavaScript client that opens the checkout.

The container is given a minimum width of 200px regardless of width, below which the widget cannot lay out correctly.

Configuring the checkout

client accepts the same options as the client constructor, so the checkout opened from a widget can be styled and sized like one you open yourself:

JavaScript
123456789
window.entase.o.push({
  obj: 'OBJ_CODE',
  client: {
    checkoutMode: 'pane',
    pane: { width: '60vw' },
    backdrop: true,
    backdropColor: '#101014'
  }
});

See Constructor options for the full list.

Two caveats. tprm is set by the widget itself from the page URL (see below), so a value passed here is replaced. And when several widgets share a page, they share one client instance — the client options of the last widget initialized are the ones in effect, so keep them identical across widgets on the same page.

Automatic campaign forwarding

Unlike the standalone client, the widget reads your page's query string and forwards known campaign parameters to both the widget and the checkout:

sgm, utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id, utm_source_platform, utm_creative_format, fbclid

A visitor arriving on yoursite.com/concert?utm_source=facebook&sgm=SOCIAL has that attribution recorded against any resulting order without further configuration. Parameters outside this list are ignored — to carry your own, open the checkout with the client directly and set tprm yourself. See Tracking and consent.

Previous Tracking and consent Next Troubleshooting
Was this article helpful?
On this page
  • Configuration
  • Configuring the checkout
  • Automatic campaign forwarding
Learn how to Entase.
© 2026 Entase, Inc.

Entase

  • Events
  • Sign up

Platform

  • Pricing
  • Global reach
  • Integration
  • Marketing tools
  • Booking tools
  • Collaboration

Use cases

  • Theater and opera
  • Concerts and parties
  • Expos, fairs and festivals
  • Museums and attractions
  • Tours and experiences
  • Workshops and seminars
  • Fundraising
  • Tournaments

Knowledge center

  • Organizers
  • Attendees
  • Developers
  • Blog

Legal

  • Terms of use
  • Privacy policy
  • Cookies policy
search Questions? Search
auto_awesome LLM? Read llms.txt
support_agent Need help? Start chat