Website Widgets
Website Widgets are small, brand-matched pieces of Live Tourney you place on your own website: an event card with a Register button, your schedule, season standings, a compact live leaderboard, a "next up" countdown band, or just a Register button next to your own event write-up. You build them in the dashboard under Toolbox → Website Widgets, paste one snippet into your site, and from then on the widget keeps itself up to date.
What each widget does
| Widget | Shows | Layouts |
|---|---|---|
| Event Card | One event: date, course, price, spots left and a button that follows the event's lifecycle | Poster, Compact, Minimal |
| Schedule | Events you pick, a whole season, or everything upcoming, grouped by month with a Past tab | Agenda, Grid, Strip |
| Register Button | Just the button. Keep your own event page; Live Tourney handles the registration | Solid, Outline, Text link |
| Next Up | Your soonest upcoming event with a countdown to the first tee time | Band |
| Season Standings | The top players in a season, the same numbers as the season portal | Table |
| Live Leaderboard | The top of the board for one event, refreshing every minute while play is on | Table |
The lifecycle
You never swap widgets out as an event moves along. Each event resolves to one of six states and the widget changes with it:
| State | When | What the visitor sees |
|---|---|---|
| Announced | Registration not yet open, or no registration configured | "Opens Nov 20" or "Save the date", Event details link |
| Open | Registration open with room | Price, spots left, Register |
| Waitlist | Full with the waitlist on | Join waitlist |
| Closed | Past the cutoff, full with no waitlist, or pairings are posted | "Registration closed", Event details |
| Live | Scorecards exist and it is event day | Live pill, Live leaderboard |
| Final | The last day of play has passed | "Final", View results |
Because the public event page shows registration only while no scorecards exist, a widget switches to Closed as soon as you post pairings, exactly as the event page does.
Building a widget
- Open Toolbox → Website Widgets and pick a widget type.
- What to show. One event, a hand-picked list, a season, or "everything upcoming" (every event on your account dated today or later, including ones you create next week).
- Layout. Choose from the layouts for that type.
- Style. Accent color, light or dark (or match the visitor's device), corners, font, which details to show, and your own text for the Register button.
- Behavior. Whether clicks open Live Tourney in a window over your page or in a new tab, whether past events get a tab, how many rows to show.
- Save. The embed code appears on the right.
The preview restyles as you click. The data in it is live from your account.
Placing it on your site
Copy the Embed code and paste it where the widget should appear:
<div data-lt-widget="w_7Kq2xRmAbC" data-lt-title="Upcoming events"></div>
<script async src="https://www.livetourney.com/widget.js"></script>
This works in Squarespace Code blocks, Wix Embed HTML, WordPress Custom HTML blocks, Webflow Embed elements and GoDaddy HTML sections. The widget sizes itself to its content, so a schedule can grow from three rows to twelve without a gap or a scrollbar. On desktop, Register and leaderboard links open in a window over your page; on phones they open a new tab.
If your site builder strips <script> tags, use the Iframe only tab instead. It works everywhere but has a fixed height you set yourself.
Not comfortable editing the site? Use Email these instructions to your web person under the code.
Editing and removing
Edit a widget in the dashboard and every page that embeds it updates within a couple of minutes. The snippet never changes, so there is nothing to re-paste. Deleting a widget blanks it on your site; remove the snippet when you get the chance.
Branding
Every account can build and place widgets. On the Pro plan, your logo and the color from Settings → Branding apply to every widget automatically, and the "Powered by Live Tourney" line comes off. Any plan can pick an accent color by hand.
Performance and privacy
Widgets read from a cached copy of your event data, refreshed every two minutes (every minute for the live leaderboard while the tab is visible). They never open a live database connection from your visitors' browsers, so a busy homepage costs you nothing. The widget shows names, dates, prices, availability and public standings only; registrant details never leave Live Tourney.
Related
- Embed Leaderboard URL for a full-board iframe on GPS systems and course displays.
- API Keys and Integrations for developers who want the data itself.