Skip to content

Instantly share code, notes, and snippets.

@nicgirault
Last active December 16, 2017 10:14
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 nicgirault/82b7e44fd0aa0cfebca900fce1801d68 to your computer and use it in GitHub Desktop.
Save nicgirault/82b7e44fd0aa0cfebca900fce1801d68 to your computer and use it in GitHub Desktop.
fullstory-2.js
export const setFullStoryIdentity = (user) => {
if (!window.FS) return
window.FS.identify(user.id, {
displayName: `${user.firstName} ${user.lastName}`,
email: user.email
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment