PlaySuper LogoPlaySuper
WebView Integration

Store URL

Build the store URL with credentials, deep links, UTM tags, and session clearing

The store is opened with the player's credentials as query parameters. The store consumes them synchronously on first render, saves them to its own localStorage, and strips them from the address bar.

Base URL

https://store.playsuper.club/?apiKey=YOUR_API_KEY&authToken=ACCESS_TOKEN
EnvironmentStore URL
Productionhttps://store.playsuper.club/
Developmenthttps://dev-store.playsuper.club/

Match the store environment to the API environment: a token obtained from dev.playsuper.club only works with dev-store.playsuper.club, and a production token only works with the production store.

Query parameters

Query parameterRequiredDescription
apiKeyYesYour game's API key from the console
authTokenYesThe player's access_token from Authentication
utm_contentNoAnalytics tag identifying where the store was opened from (e.g. main_menu_button)
clearSessionNoPass true on the first open after your app's user logs out, so the previous player's session data is wiped (see Session Management)

URL-encode all values. Access tokens can contain characters that break a raw URL. Use your platform's URL builder (Uri.Builder, URLComponents, URLSearchParams, Uri.https) instead of string concatenation — the Platform Examples all do this.

Deep-linking to a store page

You can open the store directly on a specific page — the same query parameters apply:

# Rewards section
https://store.playsuper.club/rewards?apiKey=YOUR_API_KEY&authToken=ACCESS_TOKEN

# Product store section
https://store.playsuper.club/gcommerce?apiKey=YOUR_API_KEY&authToken=ACCESS_TOKEN

Products and rewards fetched via the REST API can also link back into the store — append the credentials to any store path.

UTM tracking

Pass utm_content to attribute store opens to a specific placement in your app:

https://store.playsuper.club/?apiKey=...&authToken=...&utm_content=main_menu_button

Use a distinct value per entry point (e.g. main_menu_button, level_complete_popup) so you can compare their performance in analytics.

Next, configure the WebView that will load this URL in WebView Setup.