Table of Contents | ||||
---|---|---|---|---|
|
NFL widgets
GameTracker
UAT and Testing
https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?group[0][fixtureId]=<fixtureId>&productName=<productName>
https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?group[0][sourceFixtureId]=<sourceFixtureId>&fixtureSource=<fixtureSource>&productName=<productName>
https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?fixtureId=<fixtureId>&productName=<productName>
https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?sourceFixtureId=<sourceFixtureId>&fixtureSource=<fixtureSource>&productName=<productName>
Production
https://gsm-widgets.betstream.betgenius.com/americanfootballgametracker?group[0][fixtureId]= <fixtureId>&productName=<productName>
https://gsm-widgets.betstream.betgenius.com/americanfootballgametracker?group[0][sourceFixtureId]= <sourceFixtureId>&fixtureSource=<fixtureSource>&productName=<productName>
https://gsm-widgets.betstream.betgenius.com/americanfootballgametracker?fixtureId= <fixtureId>&productName=<productName>
https://gsm-widgets.betstream.betgenius.com/americanfootballgametracker?sourceFixtureId= <sourceFixtureId>&fixtureSource=<fixtureSource>&productName=<productName>
Example
Side-by-side layout https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?productName=gt-sidebyside&group%5B0%5D%5BfixtureId%5D=8090595&tab=field
Full betting experience:
Note: iframeheight should be at least 320px 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.
Code Block | ||
---|---|---|
| ||
<iframe id="gsm-game-tracker" scrolling="no" src="https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?group[0][fixtureId]=6992769&productName=sportsgossip" width="100%" height="320px" style="border: 0;"></iframe> |
Stand-Alone Component
In case that require component stand-alone need use a different URL
...
Exist the posibility to use the following components
ScoreBoard
To use the scoreboard stand-alone require that the activeContent should be equal to scoreboard
...
...
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 | Only use the default Group value provided by Genius, Example: |
| Which tab is active on render | No | Available options:
|
| Defines what content should be rendered. | ||
| Choose the language | No | Options are described in the translations section |
Game Tracker Partial
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. | Yes | |
| Choose the language | No | Options are described in the translations section |
| Define the stand-alone component that will be used | Yes | Only work when need stand-alone components |
Configuration
In order to have a working widget a configuration must be created, this is handled by operations team
Translations
In order to use any other than the default language, it needs to be translated.
Sport | Default Value | ||||
---|---|---|---|---|---|
American Football |
|
Available Translations
default (english)