Hm. URL parameters don't get passed to the game when it's running in an iframe, which it always is on itch. I can use JavaScript to get the direct link to the game instead of the iframe and append the parameter into that link, but that's still kinda annoying.
Like, the players would have to scan the QR code that goes to the itch page for the client, click to start the client, then click again to go from the embed to the main page.
Dammit, that won't even work! Because I can't get the URL parameter from the itch page to the iframe to generate the correct link!
What I need is a way to have the host get the direct game link from itch to generate the link in the first place. Otherwise I have to hardcode it, and since the link changes every time there's a new upload, I'd have to patch the host every time the client gets updated.