---
updatedAt: 2025-08-18T19:41:37.000Z
agentTools:
  siteIndex: https://developer.sportradar.com/llms.txt
  projectIndex: https://developer.sportradar.com/widgets/llms.txt
---

# Match General Statistics

<b>us.match.generalStatistics</b> provides general statistics for a given match, including ball possession, shots on/off target, yellow and red cards, free kicks, offsides, fouls, and substitutions.

<Embed url="https://widgets.media.sportradar.com/uscommon/en_us/standalone/us.match.generalStatistics#border=true&matchId=31045885" provider="widgets.media.sportradar.com" href="https://widgets.media.sportradar.com/uscommon/en_us/standalone/us.match.generalStatistics#border=true&matchId=31045885" typeOfEmbed="iframe" height="400px" width="100%" iframe="true" title="undefined" />

For the widget to render you must provide a valid <code>matchId</code>. All other properties are optional.

### Parameters

<table class="table-striped">
<thead>
  <tr>
    <th>Name</th>
    <th>Type</th>
    <th colspan="5">Description</th>
  </tr>
</thead>
<tbody>
  <tr>
    <td><code>props</code></td>
    <td>object</td>
    <td colspan="5">properties</td>
  </tr>
  <tr>
    <td rowspan="12"></td>
    <td rowspan="12"></td>
    <td><b>Name</b></td>
    <td><b>Type</b></td>
    <td><b>Argument</b></td>
    <td><b>Default</b></td>
    <td><b>Description</b></td>
  </tr>
  <tr>
    <td><code>matchId</code></td>
    <td>number</td>
    <td>required</td>
    <td></td>
    <td>Match ID</td>
  </tr>
  <tr>
    <td><code>disableWidgetHeader</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td>false</td>
    <td>If <code>true</code> hides the widget header.</td>
  </tr>
  <tr>
    <td><code>disableMatchHeader</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td>false</td>
    <td>If <code>true</code> hides the match header.</td>
  </tr>
  <tr>
    <td><code>disablePeriods</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td>false</td>
    <td>If <code>true</code> hides the period tabs.</td>
  </tr>
  <tr>
    <td><code>disableCharts</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td>false</td>
    <td>If <code>true</code> hides the statistics charts.</td>
  </tr>
  <tr>
    <td><code>disableGroups</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td>false</td>
    <td>If <code>true</code> hides the statistics groups.</td>
  </tr>
  <tr>
    <td><code>chartType</code></td>
    <td>string</td>
    <td>optional</td>
    <td>bar</td>
    <td>Display mode of the charts. Possible options: <code>bar</code>, <code>bullet</code>.</td>
  </tr>
  <tr>
    <td><code>layout</code></td>
    <td>string</td>
    <td>optional</td>
    <td>normal</td>
    <td>When set to <code>compact</code>, switches to a compact display. Possible options: <code>normal</code>, <code>compact</code>.</td>
  </tr>
  <tr>
    <td><code>visibleStats</code></td>
    <td>array</td>
    <td>optional</td>
    <td>[]</td>
    <td>When set to non-empty value, it only displays statistics types specified in the array (if they are available for selected match). See below for valid options. When <code>disableGroups</code> is set to <code>true</code> the stats are ordered as specified in the <code>visibleStats</code> prop.</td>
  </tr>
  <tr>
    <td><code>border</code></td>
    <td>boolean</td>
    <td>optional</td>
    <td></td>
    <td>If <code>true</code> draws a border around the widget.</td>
  </tr>
</tbody>
</table>

<b>visibleStats Options:</b>

<table class="table-striped">
<tbody>
  <tr>
    <td><code>ball_possession</code></td>
  </tr>
  <tr>
    <td><code>dangerous_attack</code></td>
  </tr>
  <tr>
    <td><code>attack</code></td>
  </tr>
  <tr>
    <td><code>ball_safe</code></td>
  </tr>
  <tr>
    <td><code>goal_attempts</code></td>
  </tr>
  <tr>
    <td><code>ball_possession</code></td>
  </tr>
  <tr>
    <td><code>shot_on_target</code></td>
  </tr>
  <tr>
    <td><code>shot_off_target</code></td>
  </tr>
  <tr>
    <td><code>corner_kick</code></td>
  </tr>
  <tr>
    <td><code>free_kick</code></td>
  </tr>
  <tr>
    <td><code>offside</code></td>
  </tr>
  <tr>
    <td><code>goal_kick</code></td>
  </tr>
  <tr>
    <td><code>thown_in</code></td>
  </tr>
  <tr>
    <td><code>yellow_card</code></td>
  </tr>
  <tr>
    <td><code>yellow_red_card</code></td>
  </tr>
  <tr>
    <td><code>red_card</code></td>
  </tr>
  <tr>
    <td><code>player_substitution</code></td>
  </tr>
  <tr>
    <td><code>save</code></td>
  </tr>
  <tr>
    <td><code>fouls</code></td>
  </tr>
  <tr>
    <td><code>injury</code></td>
  </tr>
</tbody>
</table>

### Examples

```html HTML/Declarative
<div class="sr-widget" data-sr-widget="us.match.generalStatistics" data-sr-match-id="20064536"></div>
<script type="application/javascript" src="https://widgets.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader" data-sr-language="en_us" async></script>

```

```javascript 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.media.sportradar.com/YOUR_CLIENT_ALIAS/widgetloader","SIR", {
        language: 'en_us'
    });
    SIR('addWidget', '#sr-widget', 'us.match.generalStatistics', {matchId: 20064536});
</script>
<div id="sr-widget"></div>

```