Multibet Widget Front-End Integration
In this document, you’ll find a brief description of the new Multibet widget front-end structure. The multibet widget product is designed to allow bettors to place several bets related to a fixture in pre-match or in-play. Initially, American football and football (soccer) are supported, although the widget is intended to be sport agnostic, small tasks are required to support new sports.
It is intended for bookmakers to implement on their websites offering their users a range of configurable markets per event according to their needs. The Widget allows different customizations such as colors and fonts, allowing our customers to use their brand properties offering their end users a seamless experience on their site.
Multibet Widget Integration
Our customers should embed the Multibet Widget through an iframe. When a player makes his choice and requests a bet, the Multibet Widget will call the customer’s bet slip with all the required data to populate it with the selection details.
Customers already integrated with other Fan Engagement products such as betting widgets, Game Trackers, and Scoreboards can re-use the existing iframe implementation for the Multibet Widget.
Reverse Proxy
Customers should setup a reverse proxy to protect from unauthorized access and malicious traffic. The detailed information can be found in Authenticating User-Session Using a Proxy Service
Embedding a Multibet Widget
How do I embed a Multibet widget under a specific fixture?
The Multibet Widget offered by Genius Sports is fixture-specific and does not accommodate an event viewer and selector page, therefore it should be embedded under a specific fixture within the Sportsbook page. Using a URL parameter fixtureId which is expecting Genius Sports Fixture Id as a value:
Other parameters will be required like:
Product Name: this is the customer name given by Genius.
Culture: is the parameter related to the language preferred.
<iframe src="https://gsm-widgets.betstream.betgenius.com/multibet?fixtureId=6102728&productName=[clientName]&culture=es-ES" width="1180" height="622"></iframe>
Supported minimum sizes for Widget: 300px/560px
Event listener
The customer must have a listener to receive the events that the Multibet Widget will send when the player sends his bet in the Add to betslip
action.
The following is an example of the structure of these events:
{
"command": "addToBetslip",
"sportsbookFixtureId": "56789",
"marketId": "100120022",
"sportsbookMarketId": "1234567",
"sportsbookMarketContext": "ABCDE",
"decimalPrice": "1.66"
} |
sportsbookFixtureId
- customer fixture IDmarketId
- Genius Sports market IDsportsbookMarketId
- customer market IDsportsbookMarketContext
- customer market context. This field will be populated only if customer provided it in UpdategramResponsedecimalPrice
- the price that was displayed in the Multibet widget when punter pressed "Add to betslip" button. This value should NOT be used for bet acceptance
Multibet Widget Customization
Customers can easily customize the look of the Multibet Widget. More details are available on Widget Customization