I want to send studentId in usersnap feedback, I see that we can pass userId inside user object, but I didn't see it in the account inbox page when feedback submitted, only email is displayed there.
window.onUsersnapCXLoad = function(api) {
api.init({
user: {
userId: "123",
email: "[email protected]",
},
});
}
What is the purpose of userId if it's not displayed in the account inbox page? How can I send a studentId?
Add this to your
onUsersnapCXLoadfunction right after initialising the api object.For a specific project you need to subscribe to the
openevent to set custom values.Note: There is a project-specific API and global API for Usersnap projects. see the help page for more information.