/
Multiple Services Integration
Multiple Services Integration
The core Send2CRM client may be configured for connections to multiple services.
Sending messages from website
By default, the 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 messenger
context.
// Add 'messenger' context to the service with alias 'myAlias'.
send2crm.services.addContext('messenger', 'myAlias');
Receiving messages
Per the prerequisites, services used for messenger must also have analytics enabled.
The messenger client receives messages via visitor personalization data. Only services that have messenger functionality will generate this data.
Message read events
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 messenger functionality will act on it.