---
title: "Embed on your website"
description: "Display a public match summary, final result, or team standings on another website."
canonical_url: "https://docs.hustlx.com/leagues/embed-on-your-website"
---
# Embed on your website

> Display a public match summary, final result, or team standings on another website.

Public embeds let another website display HustlX team scores and standings. This feature is available when enabled for your deployment and league. Basketball and Volleyball support match summaries, final results, and standings. Other sports do not currently offer embed controls.

<note title="Who can do this">

A league organizer with league management access can allow embeds. Anyone viewing eligible public content can copy its embed code after the organizer enables it.

</note>

## Allow embeds for a league

1. Open the league's **Manage** area, then **Public Embeds**.
2. Select **Allow public embeds for this league**.
3. Choose **Save settings**. You may need to verify your account email before saving.

Enabling embeds makes public team names, scores, and aggregate standings available to any website. Draft or private content stays unavailable. Player profiles, contact details, rosters, and coach information are excluded.

## Copy the widget

1. Open the league standings, a public match, or a concluded match's result card.
2. Select **Embed on a website**, the code icon beside sharing or card controls.
3. Choose **Light** or **Dark** and check the preview.
4. Select **Copy embed code**, then paste it into an HTML block on your website. You can also select and copy the code from the text field.

The frame uses your container's width. Match widgets are 400px tall; standings are 640px tall and show ten teams per page. Keep the supplied sandbox and referrer settings. If your website has a Content Security Policy, its `frame-src` must allow the configured HustlX embed origin. Some website builders remove iframe HTML or attributes; use the builder's supported embed block.

Do not paste account tokens or API keys into a widget. The supplied code needs neither.

## Updates and withdrawal

Ongoing match summaries refresh about every 15 seconds. Other widgets refresh about every 60 seconds, including corrections to concluded results. They clear stale data after unsuccessful refreshes and recheck when a hidden tab becomes visible.

To withdraw consent, return to **Manage > Public Embeds**, clear the checkbox, and save. This also works after a league concludes. Connected visible widgets remove the data when they refresh, within about 60 seconds. Withdrawal cannot erase screenshots or information someone already copied.

## If a widget is unavailable

Check that embeds are enabled for the league, the league and match are public, and the sport is supported. A result card requires a concluded match. A temporary service failure shows a temporary unavailable message; the widget does not keep old scores indefinitely.

See [Follow a league](https://docs.hustlx.com/leagues/follow-a-league) for the public schedule, results, and standings.


## Sitemap

See the full [sitemap](https://docs.hustlx.com/sitemap.md) for all pages.
