Debugging
Debug Parameters
Debug parameters can be passed to the URL search params after hashtag, like:
https://vk.com/app123456789#?_gp_lang=en
or depending on the platform, before, like:
https://ok.ru/app123456789/?_gp_lang=en
| Parameter | Value |
|---|---|
_gp_lang | Supported Languages |
_gp_logs | 1 - enable logs display, 0 - disable |
Languages
You can force change the language using query parameter _gp_lang, like this:
https://s3.gamepush.com/games/10/?_gp_lang=de
We support some languages from the ISO-639-1 list:
- English
en - French
fr - Italian
it - German
de - Spanish
es - Chinese
zh - Portuguese
pt - Korean
ko - Japanese
ja - Russian
ru - Turkish
tr - Arabic
ar - Hindi
hi - Indonesian
id
Logs
In any version of the game, you can view request logs and SDK calls, which will help track SDK operation and integration-related issues.
You can control SDK logs display in the browser console using query parameter _gp_logs:
Enable logs ?_gp_logs=1:
https://s3.gamepush.com/games/10/?_gp_logs=1
Disable logs ?_gp_logs=0:
https://s3.gamepush.com/games/10/?_gp_logs=0