Login event notification

The "Login event notification" is used to indicate that the contact has logged in. It notifies you via JavaScript when a user accesses the website, by using connectif.managed.sendEvents.

  

This article is part of the guide to creating a custom integration.
If your integration is via a module, this tag will be added to your ecommerce platform automatically.

 

How to use it

The login event notification uses the entityInfo option in the sendEvents method to enrich the information about the sent events. It does not have any additional properties – sending the type of event is enough.

  

This event is an alternative to implementing the "Contact has logged in" tag in your store or website’s HTML.

 

Example

The notification will look like this:

connectif.managed.sendEvents([
  {type: "login"},
  {type: "page-visit"}
], { entityInfo, cart });
  

In the example, the page visited event, is also reported, to report both events with a single call to Connectif tracking.

 

 

Congratulations!
You’ve reached the end of the tutorial.

  

Do you have questions?
Don’t forget, our Connectif specialists are here to help you. To contact them, just open a Support ticket by clicking the blue “Help” button on your dashboard.


Keep learning!

To make the most of your Connectif account, we recommend reading these articles next:

Was this article helpful?
0 out of 0 found this helpful