Betting Entertainment Tools

Facts And Figures

A match.factsandfigures (upcoming and live only) brings historical facts about team performances including losing and winning streaks, scoring averages as well as an intelligent algorithm that pushes the right questions at the right time during a live match.

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.

disableWidgetHeader boolean false

When set to true, hides widget header.

enableBettingStimulationMode boolean false

When set to true, show odds.

defaultCollapsed boolean false

When set to true, sets widget to collapsed mode. Does not work with dynamic change.

enableAutoplay boolean false

When set to true, sets autoplay ON.

autoplayInterval boolean 30

Sets autoplay interval in seconds.

onTrack function

Function/event handler, see Tracking options.

oddsDeeplinkLabels object

An object of deeplinking labels.

deeplinkParams object

An object of deeplinking params.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="match.factsandfigures" data-sr-match-id="18428096" data-sr-enable-autoplay="true"></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.factsandfigures', {matchId: 18428096, enableAutoplay: true});
</script>
<div id="sr-widget"></div>