WebViewGold Documentation · iOS
🇺🇸 English
Get WebViewGold

In-App Rating Dialog API

Ask users for an App Store rating at the perfect moment — trigger the native iOS rating dialog from your web app.

Positive App Store reviews are one of the most powerful growth drivers for your app. The In-App Rating Dialog API of WebViewGold lets you ask your users for a rating at exactly the right moment — for example, right after a successful purchase or after they completed a task in your web app.

Option 1: Native iOS rating dialog (default)

Call the following URL from an HTML link or from JavaScript to show the native SKStoreReviewController rating dialog:

<a href="rateapp://">Enjoying the app? Rate us!</a>
window.location.href = "rateapp://";

Note: Apple limits how often the native rating dialog may be displayed (about three times per year per user), so it might not appear on every call — this is by design and also applies during development.

Option 2: Custom rating dialog

If you prefer a dialog that always appears and sends the user to your App Store page instead, configure it in Config.swift:

  • showcustomrateappdialog — set to true to show a custom rate dialog when triggering rateapp:// instead of attempting the native review call.
  • ratemyappurl — set the App Store URL of your app, e.g. https://apps.apple.com/app/idXXXXXXXXX?action=write-review.

Typical Use Cases:

  • Ask for a review right after a positive interaction (completed order, level up, successful booking).
  • Show your own custom "Do you like the app?" flow on your website first, and only send happy users to rateapp://.

Too busy? We set up your app for you.

Our team configures, builds & submits your WebViewGold app — done-for-you, fast turnaround, Made in Germany.

Get your app set up →

Build in your browser

No Mac, no IDE: the WebViewGold Cloud Builder configures, builds & uploads your app online.

Discover Cloud Builder →