Session in parent launcher

The bar lives here. The iframe is the game (/demo/session-game?x_NxGPAMode=notify&x_NxGPADebug=true&x_NxGPADebugType=internal) and calls recordBet / recordWin; those methods are forwarded with postMessage. The query param must remain on the iframe URL after any redirect.

Launcher header

Game iframe