Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

  • No labels