facebook pixel

In-app customer feedback

Ask Inline's in-app customer feedback is the default way of using Ask Inline. Based on our research and thousands of tests, in-app feedback performs better than email for most test cases. Of course, if you do not have an application, email based feedback has been tested exhaustively in order to ensure great results.

Enabling the in-app feedback widget

The onboarding workflow for a new campaign will walk you through creating an email or in-app campaign. The simplest way to change a campaign from email to in-app after onboarding is to create a new campaign. If you want to switch but have feedback items that needs to be preserved, just follow these instructions:

Navigate to "Campaign admin" via the campaign dropdown

Click the "Survey Settings" tab along the top of the page.

Change the "Survey method" dropdown to "In-app dialog". Proceed by following the widget installation instructions.

Widget installation

The default installation of the Ask Inline widget is a <script> tag that is added to your application's HTML template. The script can be installed as-provided with no additional data. The automation engine will automatically assign each customer a unique identifier, called their Customer ID, to ensure that they are not surveyed too often.

The most basic Ask Inline widget installation only provides a campaign and organization id.

<script async
  data-orgId="1"
  data-campaignId="1"
  src="./built/embed-component/embed.js">
</script>

Ensure customers are tracked accurately

Automatic Customer IDs are unreliable for customers who use multiple devices or browsers since a new customer ID will be created for each client. To solve this problem, the customerId metadata can be used to provide your own customer ID. We highly recommend that you use the customerId metadata. Doing so allows Ask Inline to accurate track unique customers across different devices and browsers.

You can use any data that is unique for each customer for the customerId metadata. It does not need to be the unique identifier used in your application's database.

While a customerId can be set to any string, some additional functionality is made available when an email address is used.

<!-- Note the data-customerId field -->
<script async
  data-customerId="customer81723"
  data-orgId="1"
  data-campaignId="1"
  src="./built/embed-component/embed.js">
</script>
<!-- Note the data-customerId field -->
<script async
  data-customerId="wes@askinline.com"
  data-orgId="1"
  data-campaignId="1"
  src="./built/embed-component/embed.js">
</script>

For more information on the feedback metadata features, see the Metadata - Additional customer data page.