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.
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.
Example
The notification will look like this:
connectif.managed.sendEvents([ {type: "login"}, {type: "page-visit"} ], { entityInfo, cart });
Keep learning!
To make the most of your Connectif account, we recommend reading these articles next:
- Add Connectif JavaScript to your website, to insert the code and start collecting information about visits to your site.
- Tag integration, to discover all the notifications that you can send from your eCommerce to Connectif and how they work.
- Integration with Connectif via API, to synchronize contacts, products, purchases and coupons.
- Check the integration with your ecommerce, so you can be confident that your data is syncing correctly with your Connectif account.