Skip to main content
All CollectionsDevelopers
Integrating Feedbackly into an existing iOS app
Integrating Feedbackly into an existing iOS app
Michaela Isaksson avatar
Written by Michaela Isaksson
Updated over a week ago

Option 1: Light Integration

Technical overview

Feedbackly can be seamlessly integrated into any application using a WebView frame (or a similar approach) with our survey link. While this method has some limitations on survey control, it is well-suited for most use cases and is straightforward to implement.


  1. Obtain a survey link from the Feedbackly dashboard using the format:<id>.

  2. Append metadata to the link’s end as follows: /?_=<metadatas> (refer to other documentation for additional details on adding metadata).

  3. Implement a trigger in the app, such as a button.

  4. When the button is clicked, a page or popup with a webView loading the specified link should appear. Ensure it includes a mechanism to close the page or navigate back.

  5. To close/hide the survey within the app (i.e., hide the triggering button), use internal app logic as needed.

Option 2: Using Webview tool

Technical overview

Feedbackly can be easily integrated in an application using a Webview frame. The approach enables you to control all the aspects of showing the survey, and adding the necessary data to complement the survey.

Ideally, the survey is loaded only once when the app has been started. By keeping it running in the background there is no additional network bandwidth needed to load the survey each time it needs to be presented. The survey can be shown on-demand.


  1. When the app or desired controller is loaded, initialize a WKWebView.

  2. Load a webview with the provided Html file that includes the webwidget script

  3. Set up actions to relay information to the survey (optional)

  4. Set up listeners for survey completion eg.


Calling functions in Feedbackly

Method: webview.evaluateJavaScript

Props: Function name *, completionHandler


FBLY.action('setOptions', {hideCloseButton: true})

  • Removes the close button of the survey that was meant to be shown in websites.

FBLY.addMeta(props JS object)

  • Adds the provided metadata to the next Feedback. Will override previous metadata additions.

  • eg: webView.evaluateJavaScript("FBLY.addMeta('userAge', '25')")

  • Adds the user age to the Feedback to be later used in the analytics

Check this link for detailed web widget documentation.

Code example

Note: replace the script and div id inside html code your own script which you can find on the dashboard.

Visit for a full working repository to be run on your Xcode app.

Did this answer your question?