Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sending messages from website

By default, the messaging messenger client will attempt to send messages via the default service only.

Where multiple services are present and you wish to send messages to a non-default service, apply the messaging messenger context.

Code Block
languagejs
// Add 'messagingmessenger' context to the service with alias 'myAlias'.
send2crm.services.addContext('messagingmessenger', 'myAlias');

Receiving messages

Per the prerequisites, services used for messaging messenger must also have analytics enabled.

The messaging messenger client receives messages via visitor personalization data. Only services that have messaging messenger functionality will generate this data.

...

Similarly, messages received by the website visitor are marked as viewed via a custom visitor event. All analytics services will receive this event, but only those with messaging messenger functionality will act on it.