Script attributes
Set these on the <script> tag (or, where noted, on the <tapback-bar> element).
| Attribute | Default | Notes |
|---|---|---|
data-key | — | Your publishable key. Required. |
data-api | script origin | The Tapback API origin. Use https://api.tapback.party. |
data-theme | auto | auto | light | dark. |
data-live | visible | When to open the live socket: visible (on scroll into view), eager (immediately), or off (counts only, no live falls). |
data-layout | your config | Override the layout for this page: float or inline. |