Two lines of HTML, no API key, no auth handshake. Click anything below to open the real drawer — buyers complete checkout without leaving your page.
Pattern 1
Add data-linjerum-buy="event-slug" to any element on
your site — button, link, image, card, list item. We don't style
it, we don't replace it. We listen for the click and slide the
drawer in over your page.
<!-- Add the loader once, anywhere on your page --> <script src="https://linjerum.com/embed.js" async></script> <!-- Then add the trigger to any element --> <button data-linjerum-buy="hamlet-2026">Buy tickets</button> <a href="#" data-linjerum-buy="hamlet-2026">Tickets →</a> <span data-linjerum-buy="hamlet-2026">Or just this sentence.</span>
Pattern 2
When you don't have a button to attach to, use
<linjerum-buy>. It renders our element and triggers
the same drawer. Pick a theme, set your accent, dial in the
radius — the snippet below updates live.
<!-- Add the loader once, anywhere on your page --> <script src="https://linjerum.com/embed.js" async></script> <!-- Then drop the button --> <linjerum-buy event="hamlet-2026">Buy tickets</linjerum-buy>
Pattern 3
For single-event pages, drop a sticky bar at the bottom. Auto-fetches
title + price, or pass full +
<linjerum-field> children to drive the labelled
columns yourself (Hall, Show dates, Prices, …). Switch theme +
layout below to see the bar at the bottom of this page rebuild
live.
<!-- Add the loader once, anywhere on your page --> <script src="https://linjerum.com/embed.js" async></script> <!-- Then drop the bar --> <linjerum-event-bar event="hamlet-2026" full cta="Reserve"> <linjerum-field label="Show dates">Jun 3 – 5, 2026</linjerum-field> <linjerum-field label="Prices">From DKK 225 – 345</linjerum-field> <linjerum-field label="Duration">60 min.</linjerum-field> <linjerum-field label="Hall">Main Hall</linjerum-field> </linjerum-event-bar>
Diagnostic
Events the embed relays back to the host page — drawer open, drawer closed, purchase complete. Open the drawer above and watch them stream in.
Waiting for the drawer to fire its first event…