Skip to content

Commit

Permalink
Forgot to update MJS version
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCallis committed Jul 25, 2019
1 parent 5ade012 commit dba91a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.0.1 (July 25th, 2019)

* Forgot to update MJS file.

## 4.0.0 (July 25th, 2019)

* Custom data support for FullStory - [dtsellos03](https://github.com/dtsellos03)
Expand Down
3 changes: 2 additions & 1 deletion src/wildberry-princess.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,11 @@ export default class WildberryPrincess {
// http://help.fullstory.com/develop-js/setuservars
// Pass in customFields if provided - must be in the FullStory userVars format - see above
if (this.settings.useFullStory && window.FS != null && user.id !== 'anonymous') {
const customFields = user.customFields ? user.customFields : {};
window.FS.identify(user.id, {
displayName: user.name,
email: user.email,
...user.customFields,
...customFields,
});
}

Expand Down

0 comments on commit dba91a1

Please sign in to comment.