Hi,
I am working on a web Messaging using the publish JS snippet.
I would like to pass our customer's sessionid (dynamic and unique to each session) from to the chat initialization.
In the agent portal we like to utilize this sessionid to identify the customer during chat with a screen pop.
I have added customFilds below but not sure if this is the correct way.
Please let me know if I am on the right track or is there any documentation on passing data via web messaging.
ys = document.createElement('script'); ys.async = 1; ys.src = n; ys.charset = 'utf-8'; document.head.appendChild(ys);
})(window, 'Genesys', 'https://apps.usw2.pure.cloud/genesys-bootstrap/genesys.min.js', {
environment: 'prod-usw2',
deploymentId: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
customFields: {
sessionid: {{sessionid}}
}