Contact information notification

 

Questo articolo è attualmente disponibile in inglese e spagnolo. Puoi fare riferimento a questa documentazione mentre arriva nella tua lingua.

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.

  

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 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.

  

This report via JavaScript is an alternative to implementing the "Contact information tag" in your store or website’s HTML.

 

Report custom fields

The fields allowed are the same as if the information was sent using HTML tags. Therefore, for custom fields you’ll need to use the ID of the field together with the value that you want to report.

Notificar_informaci_n_del_carrito_-_1-min.png

 

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 });

  

 

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:

Questo articolo ti è stato utile?
Utenti che ritengono sia utile: 0 su 0