<apex:page docType="html-5.0" showHeader="false" cache="true" > <head> Redirecting to the Liveagent chat Page </head> <div id="liveagent_invite_button_5732500000XXXXX" style='margin:0px; padding: 0px; width:400px; border-radius:8px; display: none;' > <!-- DEPLOYMENT --> <script type='text/javascript' src='https://c.la1-c1cs-lon.salesforceliveagent.com/content/g/js/34.0/deployment.js'></script> <script> //------------------------------------------------------- // In this part I insert informations that I will need when I will // open the chat with the Agent. //------------------------------------------------------- liveagent.addCustomDetail("IdAOL", new Date().getTime()); liveagent.findOrCreate("Info__c").map("ID_AOL__c", "IdAOL", false, false,true); liveagent.findOrCreate("Info__c").showOnCreate(); liveagent.findOrCreate("Info__c").saveToTranscript("Info__c","Info__c"); liveagent.findOrCreate("Survey_Operatore__c").map("ID_AOL__c", "IdAOL", false, false,true); liveagent.findOrCreate("Survey_Operatore__c").showOnCreate(); liveagent.findOrCreate("Survey_Operatore__c").saveToTranscript("Survey_Operatore__c","Survey_Operatore__c"); liveagent.init('https://d.la1-c1cs-lon.salesforceliveagent.com/chat', '5722500000XXXXX', '00D25000000XXXX'); //---------------------------------------------- // start of the chat that does not work here!!! // liveagent.startChat('5732500000XXXXX', true); </script> // Instead of the StartChat I have used this URL to open the chat <body onload="window.location.href = 'https://1c3.la1-c1cs-lon.salesforceliveagent.com/content/s/chat?language=it#deployment_id=57225000000XXXX&org_id=00D25000000XXXX&button_id=5732500000XXXXX';"> </body> <!-- FINE DEPLOYMENT --> </div> </apex:page> My problem is: when the chat opens I don't have all the information that I had using the StartChat method (obtained by addCustomDetails, findOrCreate, etc etc). Possible solution 1: is it possible to put those informations into the URL? If I do use StartChat instead of URL-Hacking I have this problem when the chat pops-up: [![enter image description here][1]][1] [1]: https://i.sstatic.net/Oulor.jpg