...
Code Block | ||
---|---|---|
| ||
// Specify the analytics context when registering a secondary service. let contexts = ['analytics']; send2crm.services.register('myAlias', hostName, apiKey, contexts); // The context may also be added after registering. send2crm.services.addContext('myAliasanalytics', 'analyticsmyAlias'); |