Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if (loggedIn) { //Whatever conditionals you need, if you need them
// begin Wootric code from setup guide (copy)
window.wootricSettings = {
email: 'nps@example.com',// TODO: The current logged in user's email address.
created_at: 1234567890, // TODO: The current logged in user's sign-up date as a 10 digit Unix timestamp.
account_token: 'NPS-xxxxxxx'
};
...
WootricSurvey.run();
// end Wootric code
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.