Skip to content

Instantly share code, notes, and snippets.

@sarangbhatt
Last active November 9, 2020 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sarangbhatt/83d6784bb2cd4c29257b to your computer and use it in GitHub Desktop.
Save sarangbhatt/83d6784bb2cd4c29257b to your computer and use it in GitHub Desktop.
<!-- begin Wootric code -->
<script type="text/javascript" src="https://cdn.wootric.com/wootric-sdk.js"></script>
<script type="text/javascript">
wootric_survey_immediately = true; // Shows survey immediately for testing purposes. TODO: Comment out for production.
window.wootricSettings = {
email: 'nps@example.com', // TODO: The current logged in user's email address. OPTIONAL
// external_id: 'abc123', // TODO: The current logged in user's unique ID in your system. Reference field for external integrations only. OPTIONAL
created_at: 1234567890, // TODO: The current logged in user's sign-up date as a 10 digit Unix timestamp in seconds. OPTIONAL
account_token: 'NPS-XXXXXXX' // This is your unique account token.
};
window.wootric('run');
</script>
<!-- end Wootric code -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment