Every site in power.no is sending duplicate request when using the purecloud webchat.
Issue seems to be coming from the following onlineSchedules we send with the initialization config.
Is it possible to fix that so we don't create extra load on the servers?
Blackfriday is coming up, so they want to remove any unnecesarily load from that function.
Asked the developer on the customers side about this.
Got this answer;
"When we send the onlineSchedules with config on the init, something in the minified code calls the page again and loads the whole page as xhr request.
When I removed the onlineSchedules the page did not call itself anymore.
Would be good to find a solution for this, because at the moment we need to manually switch the chat off and on…
Can I see the not minified js code somewhere, so I could maybe come up with the solution for this?"
I've discussed this with the dev team and they've identified some opportunities to improve this code. They're currently working on a fix and hope to deploy it before Friday if testing goes well.