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 11 Next »

NFL widgets

GameTracker

  • UAT and Testing

    • https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker?group[0][fixtureId]=<fixtureId>&productName=<productName>

  • Production

  • Example 1

    • https://gsm-widgets-uat.betstream.betgenius.com/americanfootballgametracker/?group[0][fixtureId]=7730869&tab=field&productName=gsmdemo

  • Example 2

    • 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

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

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

Configuration

In order to have a working widget a configuration must be created, this is handled by operations team

  • No labels