The Logged In event must be pushed to the digitalData.events array when the server responds with a message about a successful user authorization.

From the site code

digitalData.events.push({
  name: 'Logged In'
})

When using AJAX / SPA website

digitalData.events.push({
  name: 'Logged In',
  user: {
    firstName: 'Name',
    email: 'users.email[email protected]' //required
  }
})

Read more about the user object.

From the SegmentStream interface

The Logged In event can not be created from the built-in SegmentStream triggers. The event must be added from the site code.

Required by the following integrations:

  • Mindbox