---
title: "LMT Compact"
canonical_url: "https://docs.sportradar.com/resources/widgets/docs/lmt/lmt-compact"
markdown_url: "https://docs.sportradar.com/resources/widgets/docs/lmt/lmt-compact.md"
last_updated: "2026-09-04T14:40:42Z"
---

# LMT Compact

**LMT Compact** (Live Match Tracker Compact) is a streamlined, compact match visualization widget that provides continuous live match coverage with real-time match events in a fixed position that remains visible during page scrolling. The widget automatically handles match status changes, animates significant events like goals and cards. Designed for sports betting platforms and media sites that need unobtrusive yet informative live match tracking, LMT Compact maximizes screen real estate efficiency while delivering match data through an elegant, always-visible interface that keeps users connected to live action without interrupting their browsing experience.

For the full LMT experience, see [LMT](https://docs.sportradar.com/resources/widgets/docs/lmt/lmt.md).

![LMT Compact Soccer](https://docs.sportradar.com/resources/widgets/static/img/lmt/lmt-compact/soccer_carousel.png)

LMT Compact Soccer

![LMT Compact Basketball](https://docs.sportradar.com/resources/widgets/static/img/lmt/lmt-compact/basketball_carousel.png)

LMT Compact Basketball

![LMT Compact Table Tennis](https://docs.sportradar.com/resources/widgets/static/img/lmt/lmt-compact/table_tennis_carousel.png)

LMT Compact Table Tennis

![LMT Compact Snooker](https://docs.sportradar.com/resources/widgets/static/img/lmt/lmt-compact/snooker_carousel.png)

LMT Compact Snooker

See the [LMT Compact widget demo](https://widgets.sir.sportradar.com/live-match-tracker#widget:\(name:match.lmtCompact\)).

## Main Configurable Features

Illustrations of main feature variants with relevant property values below.

**Default View**

Shows the default view of the LMT Compact widget.

![Default View](https://docs.sportradar.com/resources/widgets/static/img/lmt/lmt-compact/soccer.png)

**Sample configuration:**

- matchId: `string|number`

See [LMT Compact widget demo](https://widgets.sir.sportradar.com/live-match-tracker#widget:\(name:match.lmtCompact\))

## API Reference

### Required Parameters

- **widget-name**: `match.lmtCompact`
- **matchId**: The unique identifier for the match is the only required parameter. See [Getting Identifiers](https://docs.sportradar.com/resources/widgets/docs/tutorials/getting-identifiers.md)

**Environment Requirements**

## Technical Requirements:

- JavaScript enabled
- XMLHttpRequest support for data fetching
- CSS3 support for styling and animations

**Supported Sports**

The LMT Compact widget supports the following sports:

| Sport             | Sport ID |
| ----------------- | -------- |
| Soccer            | 1        |
| Basketball        | 2        |
| Baseball          | 3        |
| Ice Hockey        | 4        |
| Tennis            | 5        |
| Handball          | 6        |
| Rugby             | 12       |
| Football          | 16       |
| Snooker           | 19       |
| Table Tennis      | 20       |
| Darts             | 22       |
| Volleyball        | 23       |
| Futsal            | 29       |
| Badminton         | 31       |
| Beach Volley      | 34       |
| Squash            | 37       |
| Esport Soccer     | 137      |
| Kabaddi           | 138      |
| Esport Basketball | 153      |
| Esport Ice Hockey | 195      |
| Padel             | 71       |

| Property                       | Type      | Default                         | Description                                                                                                                                                                   |
| ------------------------------ | --------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `matchId`                      | `number`  | **Required**                    | The unique identifier for the match.<br><br>See [Getting Identifiers](https://docs.sportradar.com/resources/widgets/docs/tutorials/getting-identifiers.md)                    |
| `disablePitchNoise`            | `boolean` | `false`                         | When `true`, removes noise texture from pitch surface                                                                                                                         |
| `disablePitchStripes`          | `boolean` | `false`                         | When `true`, removes grass stripes or field markings                                                                                                                          |
| `disablePitchOverlay`          | `boolean` | `false`                         | When `true`, hides graphical overlays on pitch                                                                                                                                |
| `disablePitchSpotlights`       | `boolean` | `false`                         | When `true`, removes spotlight effects from pitch                                                                                                                             |
| `pitchBgImage`                 | `string`  | -                               | Custom background image URL for pitch. Overrides default pitch surface                                                                                                        |
| `pitchCustomBgColor`           | `string`  | -                               | Custom pitch background color (hex/rgb). Example: `"#1a5f3e"`                                                                                                                 |
| `pitchBrandBgColor`            | `boolean` | `false`                         | When `true`, uses `customBrandColor` as pitch background                                                                                                                      |
| `customBrandColor`             | `string`  | -                               | Primary brand color for accents and theming (hex/rgb)                                                                                                                         |
| `pitchLightStyle`              | `boolean` | `false`                         | When `true`, uses light-colored pitch theme with reduced contrast                                                                                                             |
| `pitchLogo`                    | `string`  | -                               | URL of logo to display on pitch surface                                                                                                                                       |
| `pitchLogoForceCenter`         | `boolean` | `false`                         | When `true`, positiones the pitch logo to the center of the pitch for basketball, tennis, ice hockey, handball, snooker, kabbadi, volleyball, beach volleyball and badminton. |
| `logo`                         | `array`   | See [Logo images](#logo-images) | Array of urls to branding logos, which appear in overlay carousel and in ball possession banner during live match. Accepts up to 3 images.                                    |
| `logoLink`                     | `string`  | -                               | URL destination when logo is clicked                                                                                                                                          |
| `disablePitchTeamColors`       | `boolean` | `false`                         | When `true`, uses neutral colors instead of team colors on pitch. Applies only to American Football.                                                                          |
| `possessionOverlayTeamColored` | `boolean` | `false`                         | When `true`, colors possession overlays with team colors                                                                                                                      |

### Logo Images

Array of URLs to logos accepts up to 3 images, for 3 responsive breakpoints, starting with the image for largest size. If only 1 or 2 images are provided, the last image is used for the remaining smaller brekpoints. Overlay carousel uses uses only 1st and 3rd image (or 2nd, if 3rd is not provided). Image fills the banner height or 25% of banner width, while maintaining image aspect ratio (like CSS `background-size: contain`), but not beyond image's natural dimensions.

## Integration Examples

### Property Name Transformations

Properties do not always transfer from the above table directly into integration code. Properties must be transformed differently for each integration method:

#### JavaScript/Programmatic Integration

- Property names remain unchanged in camelCase
- Properties become members of the 4th parameter object in `SIR()` call
- Example: `cardVariant: "compact"`

> **Info**
>
> In javascript integration, the properties go into an object which is passed as the 4th argument of the call ti `SIR()` function. Please see  [Global SIR API](https://docs.sportradar.com/resources/widgets/docs/tutorials/SIR.md)

#### HTML/Declarative Integration

- Convert camelCase to lowercase with dashes, e.g. cardVariant becomes card-variant
- Add `data-sr-` prefix
- Example: `cardVariant` → `data-sr-card-variant`
- Example: `filters.sport.hidden` → Complex objects must be passed as JSON strings

> **Info**
>
> In HTML integration, the properties go into the parent HTML object as object properties, prefixed with `data-sr-` as explained above.

> **Only base property support**
>
> This method supports only simple (base) properties and does not support properties that require functions.

> **Info**
>
> In all examples replace `sportradar` in the widgetloader URL path with your clientId.
>
> Example if your clientId is `client1`:
>
> - This URL: `https://widgets.sir.sportradar.com/sportradar/widgetloader`
> - becomes: `https://widgets.sir.sportradar.com/client1/widgetloader`

**Default View**

### JavaScript (Programmatic)

Initialize the widget programmatically using the JavaScript API. The widget renders in the specified container element.

```js
(function(a,b,c,d,e,f,g,h,i){a[e]||(i=a[e]=function(){(a[e].q=a[e].q||[]).push(arguments)},i.l=1*new Date,i.o=f,
g=b.createElement(c),h=b.getElementsByTagName(c)[0],g.async=1,g.src=d,g.setAttribute("n",e),h.parentNode.insertBefore(g,h)
)})(window,document,"script","https://widgets.sir.sportradar.com/sportradar/widgetloader","SIR", {
    language: 'en'
});

SIR('addWidget', '#sr-widget', 'match.lmtCompact', {
    matchId: 123
});
```

```html
<div id="sr-widget"></div>
```

### HTML (Declarative)

Insert the following HTML code at the target widget location. Complex object properties must be passed as JSON-encoded strings.

```html
<div id="sr-widget"
        data-sr-widget="match.lmtCompact"
        data-sr-match-id="123">
</div>
<script type="application/javascript"
        src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
        async>
</script>
```
