Tawk.To Widget Code.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rawiri
    Member
    • Sep 2021
    • 34

    Tawk.To Widget Code.

    Folks;

    I would like to add the standard Tawk.To Widget Code to my ESPO instance.

    I have Version 7.5.5 and have added:

    <!--Start of Tawk.to Script-->
    <script type="text/javascript">
    var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
    (function(){
    var s1=document.createElement("script"),s0=document.ge tElementsByTagName("script")[0];
    s1.async=true;
    s1.src='https://embed.tawk.to/SecretCodeHere/default';
    s1.charset='UTF-8';
    s1.setAttribute('crossorigin','*');
    s0.parentNode.insertBefore(s1,s0);
    })();
    </script>
    <!--End of Tawk.to Script-->

    into footer.tpl

    I have also tried adding it to footer.js (with a little editing).

    Neither works, and nothing appears in the espo log.

    Any ideas, has any one else got this working?

    Regards
    David.​
  • Decepticon
    Junior Member
    • Jul 2023
    • 18

    #2
    Originally posted by rawiri
    Decepticon - Hi, did you get Tawk.To to work?
    I also don't know how to make it work​

    Comment

    • rawiri
      Member
      • Sep 2021
      • 34

      #3
      Decepticon I could not make it work after upgrade to 8.0, So I created a little Entity that my users can create support requests with.

      Regards
      David.

      Comment

      • Decepticon
        Junior Member
        • Jul 2023
        • 18

        #4
        I found a user who has successfully embedded their script in footer.js​
        I've added the following elements to the client\res\templates\site\footer.tpl template: &lt;div class=&quot;scroll-to-top&quot;&gt; &lt;i class=&quot;icon-arrow-up&quot;&gt;&lt;/i&gt; &lt;/div&gt; However, when I add the following Javascript to client\src\views\site\footer.js, I find that it never executes:

        Comment

        Working...