CmsWager Integration Document
  • Introduction
  • Before Start
  • Sportsbook UI
    • Integration
    • Window Message Events
  • CmsWager Api
    • Summary
    • Authentication
    • API Reference
      • Login/Register User
      • Freebet and Bonus assignment
    • Errors
  • Client API Reference
    • Summary
    • Api Reference
      • Bet placement
      • Cancelling bets
      • Concluding bets
      • Reopening concluded bets
      • Partial Cashout
      • Insurance
  • Frontend Api (optional)
    • Summary
    • Api Reference
      • Components
        • Top Leagues
        • Prematch Active Sports
        • Prematch Sport Menu
        • Last minute
        • Live now (reduced)
      • Matches
        • Tournament Odds
        • Match Odds
  • Appendix
    • Transaction types
    • Bet Status
    • Bet Type
    • Error Codes
Powered by GitBook
On this page
  1. Sportsbook UI

Window Message Events

Both mobile and web platforms continuosly listen for message events coming from the parent window. These controls are provided in order for manual triggering on the iframe, by sending message events t

Message Event Parameter (JSON Stringified)
Functionality

{"changePage":"sport"}

Switch to sports page.

{"changePage":"live"}

Switch to live page.

{"changePage":"altsport"}

Switch to a mobile smaller sports page. (not available in some templates)

{"changePage":"explore"}

Switch to mobile explore page. (not available in some templates)

{"changePage":"bet-history"}

Switch to Bet History.

{"logout":""}

Force UI to logout.

PreviousIntegrationNextSummary

Last updated 2 months ago