Betting Entertainment Tools

Standalone

A betAssist.standalone brings soccer statistics and betting suggestions depending on a selected market.

For the widget to render you need to provide matchId and market.

NOTE: Font Oswald will be displayed for Bet Assist only if the user imports the font and adds the css selector below

@import url('https://fonts.googleapis.com/css?family=Oswald:300,400,500,700&subset=latin-ext')

.sr-bb .srt-font-family-chart {
     font-family: 'Oswald', 'Roboto', sans-serif;
}
Parameters
Name Type Description
props object
matchId number

Match ID

market string

See available markets here.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="betAssist.standalone" data-sr-match-id="21514521" data-sr-market="bothTeamsToScore"></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', 'betAssist.standalone', {matchId: 18428096, market: 'bothTeamsToScore'});
</script>
<div id="sr-widget"></div>

A custom.immersiveBet.betAssist.tennisStandalone brings soccer statistics and betting suggestions depending on a selected market.

For the widget to render you need to provide matchId and market.

Parameters
Name Type Description
props object
matchId number

Match ID

market string

See available markets here.

Examples

HTML/Declarative

<div id="sr-widget" data-sr-widget="custom.immersiveBet.betAssist.tennisStandalone" data-sr-match-id="21514521" data-sr-market="bothTeamsToScore"></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', 'custom.immersiveBet.betAssist.tennisStandalone', {matchId: 18428096, market: 'bothTeamsToScore'});
</script>
<div id="sr-widget"></div>