Add a TrustBox widget to your iOS or Android mobile app

This feature is part of the Convert add-on module, the Growth plan, and the Scale plan.

This feature is included in the Premium, Advanced, and Enterprise plans.

While our TrustBox widgets are designed for websites, they work just as well in mobile apps. This article walks you through how to implement a widget in your mobile app.

Developers, you can go straight to our GitHub project for basic code examples and iOS or Android instructions.

TrustBox widgets in native apps

Because our widgets are designed for the web, 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 widget layouts here.

Implement a TrustBox widget for iOS

A TrustBox widget can be used to show Trustpilot data in your app by using the WKWebView from the iOS WebKit SDK. Ask your developer to follow the implementation steps provided in our GitHub project

Example TrustBox for iOS

Implement a TrustBox widget for Android 

A TrustBox widget can be used to show Trustpilot data in your app by using the WebView from the Android WebKit SDK. Ask your developer to follow the implementation steps provided in our GitHub project.

Example TrustBox for Android

Use our APIs to build your own TrustBox widget

You can use our APIs to build custom versions of our widgets. Through our APIs, you can access your business' Trustpilot data, e.g., 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.

In our GitHub project, there’s an example of how to use Trustpilot’s APIs to show reviews in your mobile app.

Example TrustBox made with our APIs

Learn more about getting started with our APIs and see our API documentation for developers.

Previous What are TrustBox widgets?

Up next TrustBox widgets - FAQ

Related articles