Hello! How can we help?

Browse the Trustpilot Support Center to find info on Google Seller Ratings, Rich Snippets, TrustBoxes, Product reviews, plus how-to guides for editing your reviews and account settings

How to add TrustBoxes to your iOS or Android mobile app Follow

While our TrustBox widgets are designed for web, they work just as well in mobile apps. This article provides you with an overview of what you need to do to implement a TrustBox in your mobile app.

For developers: Go straight to our GitHub project for more technical details and a basic code example of how to use our TrustBoxes inside a mobile app - either an iOS app or an Android app.

How to make TrustBoxes work in native apps

Because our TrustBoxes are designed for web, the implementation for native apps involves copy/pasting an HTML <script> tag that loads the TrustBox functionality and a <div> tag that defines the parameters of the specific TrustBox. You can find all of our TrustBoxes in Trustpilot Business under Integrations > TrustBox Library.

Implementing a TrustBox in an iOS app

Using the WKWebView from the iOS WebKit SDK, a TrustBox can be used to easily show Trustpilot data in your app. Ask your developer to follow the implementation steps provided in our GitHub project. The article also includes tips on how to make your TrustBox look as good as possible and how to handle navigation from links in the TrustBox.

Implementing a TrustBox in an Android app

Using the WebView from the webkit SDK, a TrustBox can be used to easily show Trustpilot data in your app. Ask your developer to follow the implementation steps provided in our GitHub project.

How to use our API to build your own TrustBox

We have a public API that can be used to build custom versions of our TrustBoxes. Through our APIs, you can get data about your company on Trustpilot, such as your reviews, TrustScore, number of reviews, and current star rating.

To use our APIs, you need an API key, which you can get from your account manager at Trustpilot. Learn more about getting started with our APIs and see our API documentation for developers.

In our GitHub project you can also find an example of how you can use Trustpilot’s API to show reviews in your mobile app.

Contact Support