Skip to content

Commit

Permalink
Fix identify event
Browse files Browse the repository at this point in the history
  • Loading branch information
laushinka committed Aug 20, 2021
1 parent 2c01eb1 commit 0ab0839
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export class NewsletterSubscriptionController {
else {
this.analytics.identify({
userId: email,
[newsletterProperties[newsletterType].property]: true
traits: {
[newsletterProperties[newsletterType].property]: true
}
});
res.redirect(successPageUrl);
}
Expand Down

0 comments on commit 0ab0839

Please sign in to comment.