Skip to content

Testing

Wortal Platform

Local Testing

When using the Wortal Developer page or when your game is loaded in a publisher portal, the Wortal SDK automatically populates some critical settings via the URL queryparameters.

  • clientid - A client ID used to identify the publisher to the ad network.
  • debug - a flag to indicate whether we're testing ads or not.

When Wortal loads your game, the URL would look like this:

https://cdn.html5gameportal.com/games/$id/$revision-id/index.html?debug=true&clientid=foobar. So, when developing locally and calling your index.html be sure to append these values yourself, e.g:

http://localhost/index.html?debug=true&clientid=debug