Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Features by sport

Components

...

The purpose of this layout is to render the game tracker with a tabs navigator, the idea is to use it on small or medium containers including mobile view. This is the default layout. Tabs can be removed and/or added on our side.

EXAMPLE LINK

Integration example

...

Name

Purpose

Mandatory

Notes

productName

Dictates which configuration should be used to render the Game Tracker(customer)

Yes

It’s a string that would be provided by Genius Sports.

fixtureId

Defines what content should be rendered.

Yes

Supports Genius Sports fixture IDs and customer fixture IDs.

To use the customer fixture IDs, the IDs need to be sent to Genius Sports for mapping.

layout

Defines the layout that will be displayed

No

The layout name would be provided by Genius Sports, the default layouts are default(tabs), sideBySide or desktop

Should not be used alongside widget

widget

Define the stand-alone component that will be used

No

Allows usage of stand alone component. Should not be used alongside layout

culture

Chooses which locale should be used to load translations

No

Options are described in the translations section

Translations

...

  • To utilize this feature, append the parameter &culture={language-code} to the URL. The {language-code} should adhere to this ISO format. If translation files for the specified language are available, they will be used; otherwise, the default language will be en-GB. To utilize a language other than the default, it must first be translated.

  • Each supported language in the system has a dedicated file containing translations for all available sports. Note that the coverage for a specific sport may vary depending on the language.

  • This applies to nearly all text within the widget, with the exception of team names, competition names, and play descriptions for American football fixtures.

  • Language management is global across all customers, meaning that no customer-specific translations are permitted; all customers will experience the same language settings.

  • Each supported sport in the multisport game tracker has its own unique structure or set of strings that require translation.

  • Every translatable string follows this format, where customers should only modify the text within the translation key. Descriptions are often provided to clarify which label each string corresponds to.

Code Block
"AboutToStart": {
    "translation": "試合はまもなく開始されます",
    "description": "Label for AboutToStart"
},
  • Given the global nature of languages, we already provide support for a wide range of them. If you have inquiries regarding the current status of a specific language, please feel free to ask. Additionally, if there are any files missing that need to be completed, or if you require the most recent starting file for a particular language, do not hesitate to request that information.

Sport

Default

Football

View file
namefootball-default.json

Basketball

View file
namebasketball-default.json

American football (CFL)

View file
nameAmericanFootball-default.json

Tennis

View file
nametennis-default.json