Passing only name and will not work if “Secure JavaScript API” option enabled. If you want to work with secure mode then you will need to supply the calculated hash value in this function too.

To disable secure mode login into tawk.to and in Admin >> Property Settings >> Secure JavaScript API >> Disable

After this setting passing visitor name and value will work.

var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();

Tawk_API.visitor = {
 name  : 'Name',
 email : 'test@email.com'
 };
 (function(){
 var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
 s1.async=true;
 s1.src='https://embed.tawk.to/xxxxxxxxxxxxxxxxxxxx/default';
 s1.charset='UTF-8';
 s1.setAttribute('crossorigin','*');
 s0.parentNode.insertBefore(s1,s0);
 })();

2,539 total views, 1 views today

Failed to set Visitors name and mail in tawk.to chat
Tagged on:         

2 thoughts on “Failed to set Visitors name and mail in tawk.to chat

  • April 19, 2017 at 9:25 am
    Permalink

    That is the correct blog for anybody who needs to seek out out about this topic. You notice so much its virtually arduous to argue with you (not that I actually would need…HaHa). You positively put a brand new spin on a subject thats been written about for years. Great stuff, just nice!

    Reply
  • April 24, 2017 at 6:00 pm
    Permalink

    Ich denke, dass Sie den Fehler zulassen. Ich biete es an, zu besprechen.
    [url=http://forum.crystalfinger.com.au/index.php?action=vthread&forum=1&topic=8&page=9#msg56481]marloweKt[/url]

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *