NFL widgets
GameTracker
UAT and Testing
https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?group[0][fixtureId]=<fixtureId>&productName=<productName>
Production
https://gsm-widgets.betstream.betgenius.com/americanfootballgametracker?group[0][fixtureId]=<fixtureId>&productName=<productName>
Examples
https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker/?group[0][fixtureId]=7730869&tab=field&productName=gsmdemo
https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker/?group[0][fixtureId]=7730869&tab=field&productName=gsmdark
Note: iframe height should be at least 240px in order to have a properly functioning widget and its container should be at least 300px wide
Integration details
iFrame
The iframe code should be placed within the body of the webpage where you would like the widget to appear. The script below is an example that embeds a Football Game Tracker product.
<iframe src="https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?group[0][fixtureId]=7730869&productName=sportsgossip" width="100%" height="320px" style="border: 0;"></iframe>
Query parameters
Game Tracker
Name | Purpose | Mandatory | Notes |
---|---|---|---|
| Dictates which configuration should be used to render the Game Tracker | Yes | Is a string that would be provided by ops |
| Defines what content should be rendered. It can be used to have several fixtures defined as fallback | Yes | It’s an encoded array where each array item is an object that contains a fixtureId. The fixtureId supports both betgeniusId and source fixture ids. Example: |
| Which tab is active on render | No | Available options:
|
Configuration
In order to have a working widget a configuration must be created, this is handled by operations team