Ball Possession widget displays comprehensive possession statistics for soccer matches, combining overall ball possession percentages with territorial control visualization. The widget offers two presentation modes for possession data (circular chart or line chart over time) and includes a pitch-based visualization showing the distribution of play across defensive, attacking, and dangerous attacking zones. It provides real-time insights into which team controls the ball and where on the pitch that control is being exercised, helping users understand match dynamics, tactical approaches, and team dominance patterns. The widget is soccer-specific and designed for live match analysis platforms.

Shows the default view of the Match Ball Possession widget.

Shows only pitch statistics, hiding other ball possession details.
See the Ball Possession widget demo.
match.ballPossessionEnvironment Requirements
Supported Sports
The Ball Possession widget supports the following sports:
| Sport | Sport ID |
|---|---|
| Soccer | 1 |
| Esport Soccer | 137 |
Illustrations of main feature variants with relevant property values below.
See Ball Possession widget demo
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-variant| Property | Type | Default | Description |
|---|---|---|---|
matchId | number | Required | The unique identifier for the match. See Getting Identifiers |
disableWidgetHeader | boolean | false | When true, hides the tournament context header showing competition name, date, and venue information. |
disableMatchHeader | boolean | true | When true, hides the match team header displaying team crests, names, and current score. Default is true assuming widget is embedded in match context. |
disableBallPossession | boolean | false | When true, hides the overall possession chart (circular or line). Automatically set to true if possession data unavailable. When both possession and pitch stats are disabled, widget shows error. |
disablePitchStatistics | boolean | false | When true, hides the pitch-based territorial control visualization. Automatically set to true if territorial statistics unavailable. When both possession and pitch stats are disabled, widget shows error. |
disablePlayDirection | boolean | false | When true, hides the directional arrows on pitch visualization indicating which direction each team is attacking. Useful for simplified visualization or when attacking direction is obvious from context. |
enableEmptyState | boolean | false | When true, widget displays empty/placeholder state instead of error when statistics are not yet available (typically pre-match or early in match). Forces both possession and pitch components to render with neutral values. |
layout | string | "circular" | Possession chart visualization style.
|
Shows the default view of the Match Ball Possession widget.
Sample Configuration:
string|numberfilters.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.
This method supports only simple (base) properties and does not support properties that require functions.
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=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.ballPossession', {
matchId: 123
});<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="match.ballPossession"
data-sr-match-id="123">
</div>
<script type="application/javascript"
src="https://widgets.sir.sportradar.com/sportradar/widgetloader"
async>
</script>