Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

URL QueryParam

A topic by fireday2 created Jun 18, 2022 Views: 183 Replies: 1
Viewing posts 1 to 2
(6 edits)

Hi

I have the demo mode of my game. It should run by passing QueryParam
If i pass param through the game page: https://fireday2.itch.io/postcard?demo=on
Nothing happened. Because game doesn't get the param! (i checked it in log)

But. There is a decision - using of direct link to player (ssl.hwcdn.net), in my case it is:
https://v6p9d9t4.ssl.hwcdn.net/html/5992937/index.html?demo=on

Ok, now it's work fine. But there is a problem here
In this case game is opened in empty tab. It's not what i need!
And, also, google analytics is not work for hwcdn.net (or i do something wrong)

I tried to find the solution, but found only one one topic without answer: https://itch.io/t/1466512/game-iframe-url-how-to-add-a-query-param

Please implement this function! (to pass QueryParametrs through itch.io to webplayer)
I am sure this function will be useful for publishers

up

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.