The "Contact information notification" is used to record the data of ecommerce visitors. It sends you the contact’s information via JavaScript, using the connectif.managed.sendEvents function.
How to use it
The contact information notification uses the entityInfo option in the sendEvents method to enrich the information about sent events. This option is normally used when the contact's email address is known, which helps to identify them.
Report custom fields
Example
The notification will look like this:
connectif.managed.sendEvents([
{type: "page-visit"}
], { entityInfo: {
primaryKey: "contact@email.com",
_name: 'John',
_surname: 'Doe',
_newsletterSubscriptionStatus: "subscribed",
mi-campo-personalizado: "valor"
}, cart });
Keep learning!
To make the most of your Connectif account, we recommend reading these articles next:
- Add Connectif JavaScript to your website, insert the code and start collecting information about the visits to your site.
- Integration using tags, to discover all the notifications you can send from your ecommerce to Connectif and how they work.
- Integration with Connectif via API, to synchronize contacts, products, purchases and vouchers.
- Check the integration with your ecommerce, so you can be confident that your data is syncing correctly with your Connectif account.