Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 23 Current »

NFL widgets

GameTracker

Note: iframe height 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.

<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

https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametrackerpartial

Exist the posibility to use the following components

ScoreBoard

To use the scoreboard stand-alone require that the activeContent should be equal to scoreboard


Example URL:

https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametrackerpartial/?fixtureId=8090595&activeContent=scoreboard&productName=gsmdemo

Query parameters

Game Tracker

Name

Purpose

Mandatory

Notes

productName

Dictates which configuration should be used to render the Game Tracker

Yes

Is a string that would be provided by ops

group

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,

(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:
group[0][fixtureId]=12345)

tab

Which tab is active on render

No

Available options:

  • field

  • topPerformers

  • teamStats

fixtureId

Defines what content should be rendered.

culture

Choose the language

No

Options are described in the translations section

Game Tracker Partial

Name

Purpose

Mandatory

Notes

productName

Dictates which configuration should be used to render the Game Tracker

Yes

Is a string that would be provided by ops

fixtureId

Defines what content should be rendered.

Yes

culture

Choose the language

No

Options are described in the translations section

activeContent

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)

  • No labels