I have a task in which I need to intercept an event when the Genesys messenger chat button is clicked. I just need to get a basic callback event of some sort so I can act on it. I've been digging a bit and I see documentation referring to using ac 'on' , though I'm thinking this is not correct for the version/product we are using which is
* messenger
* @version: 2.11.4
* @license: Genesys Cloud Services, Inc.
Given the following injection snippet, can someone direct me as to how I could setup an event callback to know when someone clicks the chat button?
(function (g, e, n, es, ys) {
g["_genesysJs"] = e;
g[e] =
g[e] ||
function (...args) {
(g[e].q = g[e].q || []).push(args);
};
g[e].t = new Date();
g[e].c = es;
ys = document.createElement("script");
ys.async = 1;
ys.src = n;
ys.charset = "utf-8";
document.head.appendChild(ys);
})(
window,
...
Any help is much appreciated, thanks!
#API/Integrations------------------------------
Sean McGill
Rightworks
------------------------------