The Tournament Preview widget displays comprehensive tournament information and statistics organized into multiple tabbed views. The widget provides detailed tournament data including overview statistics, team standings, top performers (leaders), match results, and team information for a specific tournament season. It is designed for sports betting platforms and sports information sites that need to present tournament data in an organized, easy-to-navigate format. The widget supports customizable tab configurations, expandable/collapsible states, and comparison between tournaments.

Tournament Preview Full View

Tournament Preview Mobile View
See the Tournament Preview widget demo.
tournament.previewAt least one of the following identifiers must be provided:
See Getting Identifiers for information on obtaining these values.
Environment Requirements
Supported Sports
The widget offers several configuration options to customize its appearance and behavior.

trueThe widget displays fully expanded on load, immediately showing all tournament content. When expanded widget takes as much vertical space as needed to avoid scrollbars within the widget.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
uniqueTournamentId | number | Conditional* | undefined | Unique tournament identifier. Used to load tournament data directly. See Getting Identifiers for sources. |
matchId | number | Conditional* | undefined | Match identifier. The widget derives the tournament and season from the specified match. See Getting Identifiers. |
seasonId | number | Conditional* | undefined | Season identifier for a specific tournament season. Can be used alone or with uniqueTournamentId to specify exact season. See Getting Identifiers. |
isMobile | boolean | No | false | When true, activates mobile-optimized layout with adjusted spacing. Tabs are hidden in collapsed state to use a smaller footprint and show only after expanding the widget. |
disableEventTicker | boolean | No | false | When true, removes the event ticker component that displays live events of the tournament. |
isExpanded | boolean | No | false | Controls the initial display state of the widget. When true, the widget loads fully expanded showing tournament content. When false, the widget loads collapsed requiring user interaction to expand. |
disableCompare | boolean | No | false | When true, removes the comparison functionality that allows users to compare the current tournament with another tournament side-by-side. |
tabs | object | No | See Tabs identifiers | Configuration object defining which tabs to display and their order. |
disableTabs | boolean | No | false | When true, completely hides the tab navigation interface. The widget displays only the default view without tab selection options. |
onItemClick | function | No | undefined | Event handler callback function triggered when an event item in event ticker is clicked or touched within the widget. Receives the match identifier (matchId) as a parameter. Use this to integrate with bet slips, navigate to match details, or trigger custom actions. |
s5ClientAlias | string | No | undefined | S5 client alias to be used for direct link to additional statistics (on S5 solution). Required for "More Stats" button to function. |
openMoreStatsInNewTab | boolean | No | false | Controls how "More Stats" links behave. When true, opens S5 Statistics Centre pages in a new browser tab. When false, opens in the current tab. |
disableMoreStats | boolean | No | false | When true, removes the "More Stats" button that links to detailed statistics on the S5 Statistics Centre. |
* Conditional Requirement: At least one of uniqueTournamentId, matchId, or seasonId must be provided.
tabs property is an object with sport IDs as keys and arrays of strings (tab identifiers) as values.
{
1: ['overview', 'standings', 'leaders', 'results', 'teams'], // soccer
}Available Tabs:
overview: Tournament overview with general statistics and informationstandings: Current team standings/table for the tournamentleaders: Top performing players across various statistical categoriesresults: Match results and fixturesteams: Participating teams informationExample:
{
tabs: {
1: ['standings', 'results', 'leaders'] // Soccer: show only 3 tabs in this order
}
}See Tournament Preview Custom Tabs Order Guide for detailed examples.
Only Soccer (sport ID: 1) is supported at this time.
Properties do not always transfer from the above table directly into integration code. Properties must be transformed differently for each integration method:
SIR() callcardVariant: "compact"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
data-sr- prefixcardVariant → data-sr-card-variantfilters.sport.hidden → Complex objects must be passed as JSON stringsIn HTML integration, the properties go into the parent HTML object as object properties, prefixed with data-sr- as explained above.
In all examples replace sportradar in the widgetloader URL path with your clientId.
Example if your clientId is client1:
https://widgets.sir.sportradar.com/sportradar/widgetloaderhttps://widgets.sir.sportradar.com/client1/widgetloaderInitialize the widget programmatically using the JavaScript API. The widget renders in the specified container element.
(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=
<div id="sr-widget"></div>Insert the following HTML code at the target widget location. Complex object properties must be passed as JSON-encoded strings.
<div id="sr-widget"
data-sr-widget="tournament.preview"
data-sr-unique-tournament-id="21"
data-sr-is-expanded="true">
</div>
<script type="application/javascript"
src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
async>
</script>The onItemClick event handler is triggered when an event item in event ticker is clicked or touched within the widget.
Important: Callback functions (onItemClick) cannot be set via HTML attributes. Use JavaScript/Programmatic integration for these features.
Function Signature:
function onItemClick(matchId)Parameters:
matchId (number): The identifier of the clicked matchUse Cases:
Example:
SIR('addWidget', '#sr-widget', 'tournament.preview', {
uniqueTournamentId: 21,
onItemClick: function(matchId) {
// Navigate to match detail page
window.location.href = '/matches/' + matchId;
// Or add to bet slip
// betSlip.addMatch(matchId);
// Or track analytics
// analytics.track('match_clicked', { matchId: matchId });
}
});<div id="sr-widget"></div>This method supports only simple (base) properties and does not support properties that require functions.