Skip to main content
All CollectionsIn-app SurveysInstallation
How do I install Wootric in-app web or mobile surveys?
How do I install Wootric in-app web or mobile surveys?
Hannah Douglas avatar
Written by Hannah Douglas
Updated over a week ago

Installing Wootric is just few steps away!

Remember, you can install Wootric into your web app, your mobile app, OR both!

To install Wootric into your web app:

You can install Wootric directly by using our code snippet or you can enable Wootric through our partnership with Segment.com!

To install directly:

1) Sign in to access Wootric's Setup Guide.  You can also access it by going to you Settings -> Wootric Setup Guide

2) The Setup Guide will show the Wootric code snippet.  As this does require a bit of coding, you have the option to forward the install instructions along to your developer.

3) Copy the code snippet and paste it before your <\head> tag into all of your site’s pages.

IMPORTANT! : Customize the TODO fields, as seen below, in the code for your application!

<!-- begin Wootric code -->
<!-- INFO / TO-DO:
  * wootric_survey_immediately: shows survey immediately for testing purposes. Remove for production.
  * account_token: this is used to to identify your account in our service. You must place your account token in here.
  * email: required to uniquely identify a user. It can be any unique value other than email. Leave off for anonymous surveys
  * external_id: reference field for external integrations only. Send it along with email. This is an optional field.
  * created_at: The current logged in user's sign-up date as a 10 digit Unix timestamp in seconds. This is an optional field.
-->

<script type="text/javascript">
  wootric_survey_immediately = true;
  window.wootricSettings = {
    account_token: 'NPS-XXXXXXX',
    email: 'customer@example.com',
    external_id: 'abc123',
    created_at: 1234567890
  };
</script>

<script type="text/javascript" src="https://cdn.wootric.com/wootric-sdk.js"></script>

<script type="text/javascript">
 window.wootric('run');
</script>
<!-- end Wootric code -->

To install in your mobile app:

Wootric is available for both iOS and Android. SDKs are open source and available here for installation and testing:

You can also see some short videos of how the Wootric survey will appear in your app for iOS and Android.

You can also activate Wootric in your mobile app through our partners Segment and mParticle.

Related terms: sdk sdks mobile ios android install

Did this answer your question?