Sign in

Problem with live chat

  • This topic has 1 reply, 1 voice, and was last updated 2 weeks, 4 days ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5532
    Jampi

    Hi everyone!

    I’ve finished to move my website (https://www.visaworld.it) from wordpress to publlii using the simple blog theme, and I’m quite happy, same design but far better performance.

    I’ve only 1 problem left to solve: I’ve set a live chat (crisp – https://crisp.chat/en/), added the script to the footer, set the gdpr type; the code is (the id is fake of course 😀 : )

    <script type="{{ gdprScriptBlocker "functions"}}">window.$crisp=[];window.CRISP_WEBSITE_ID="123456789abcdefg";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>

    Now, after you give the cookie consent, the chat appears and works as expected, but if you change page, it doesn’t show up again.

    Any sugestion? What am I doing wrong?

    Thank you!

    Giampiero

    #5533
    Jampi

    Solved, i moved the script above the lasy loading if statement and it started appearing in every page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Problem with live chat’ is closed to new replies.