Betting Entertainment Tools

Match Statistics

A match.statistics brings general performance indicators such as number of goals, ball possession percentage, number of fouls, free kicks and offsides to offensive efficiency indicators such as number of corners, shots on target, attempts, number of saves etc.

For the widget to render you need to provide matchId, other properties are optional.

Parameters
Name Type Attributes Default Description
props object <required>
matchId number <required>

Match ID.

disableBallPossession boolean false

When set to true, hides the ball possession graph.

disableGeneralStatistic boolean false

When set to true, hides general statistics.

disableSubstitutions boolean false

When set to true, hides substitutions.

disableAttackPreformance boolean false

When set to true, hides attacking performance.

disableWidgetHeader boolean false

When set to true, hides widget header.

disableMatchHeader boolean false

When set to true, hides match header.

disableResult boolean false

When set to true, hides result.

disableScoreboardTable boolean false

[basketball only] When set to true, hides the scoreboard table.

disableScoreboardHeader boolean false

[basketball only] When set to true, hides the scoreboard header.

disableTimeSpendLead boolean false

[basketball only] When set to true, hides "time spend in the lead" chart.

disableShootingInfographic boolean false

[basketball only] When set to true, hides shooting info chart.

disableGeneralStats boolean false

[basketball only] When set to true, hides general stats.

disableFieldGoals boolean false

[basketball only] When set to true, hides field goals.

showFactsAndFigures boolean false

When set to true, enables display of betting stimulations.

onTrack function

Function/event handler, see Tracking options.

Examples

HTML/Declarative

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

JS/Programmatic

<script>
    (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.statistics', {matchId: 20521319});
</script>
<div id="sr-widget"></div>