Wootric Destination

Segment makes it easy to send your data to Wootric (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to Wootric in the format they understand. Learn more about how to use Wootric with Segment.

Our Wootric destination code is all open-source on GitHub if you want to check it out.

Getting Started

Once the Segment library is integrated with your server, toggle Wootric “on” and add your Account Token in your Segment destinations. You can find your Account Token in your Wootric dashboard, located under the settings menu (the gear on the right) as part of the JS beacon installation instructions. Your unique account token will be located inside the snippet, labeled account_token. Take the full string to the right excluding the single quote. It should look something like this: ‘NPS_1234abcd’

Wootric supports the identify and page methods.

Note: The incoming responses and surveys will not be tied to a user until you identify your user.


Identify

When you identify a user using Segment, that user information is passed to Wootric to check eligibility during survey responses. Segment’s special traits recognized as Wootric’s standard user profile fields (in parentheses) are:

  • email
  • createdAt (An ISO-8610 date string or UNIX timestamp) Note: Wootric requires the timestamp to be rounded to the nearest second so we will make this conversion for you!
  • properties (custom attributes belonging to the end_user) Note: These have to be predefined in Wootric first. See docs here

Page

When you call page in the Javascript API, Wootric will log the page visit.


Supported Sources and Connection Modes

WebMobileServer
📱 Device-based
☁️ Cloud-based

To learn more about about Connection Modes and what dictates which we support, see here.

This destination requires a Device-based Connection Mode for Mobile data. Follow the steps above to ensure you have packaged the Wootric SDK with Segment’s.

Settings

Segment lets you change these destination settings via your Segment dashboard without having to touch any code.

Account Token

You can find your account token in your Wootric Settings under ‘Install JS Beacon’. It should look something like this: NPS-4aeb53c1.

Client ID

Only required for the Wootric mobile integration. You can find your Client ID in your Wootric Settings.

Client Secret

Only required for the Wootric mobile integration. You can find your Client Secret in your Wootric Settings.


If you have any questions or see anywhere we can improve our documentation, please let us know or kick off a conversation in the Segment Community!