The core Send2CRM client may be configured for connections to multiple services.
Sending messages from website
By default, the messaging 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
context.
// Add 'messaging' context to the service with alias 'myAlias'. send2crm.services.addContext('messaging', 'myAlias');
Receiving messages
The messaging client receives messages via visitor personalization data. Only services that have messaging functionality will return 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 messaging functionality will act on it.