Jump to content

Recommended Posts

Posted

I'm trying to get a LiveChat widget/popup working on my Invision site.  We have it working on our normal company website, but the java snippet provided by LiveChat doesn't seem to work.

There documentation says to paste it right before </body> so I tried this in globalTemplate and it does not work.  I tried it also right before </head> as per some suggestions for Java scripts here in the forum.  It just doesn't seem to do anything.  Am I missing something?  Is there something I need to enable?

The code provided is:

<!-- Start of LiveChat (www.livechatinc.com) code -->
<script>
    window.__lc = window.__lc || {};
    window.__lc.license = XXXXXXX;
    ;(function(n,t,c){function i(n){return e._h?e._h.apply(null,n):e._q.push(n)}var e={_q:[],_h:null,_v:"2.0",on:function(){i(["on",c.call(arguments)])},once:function(){i(["once",c.call(arguments)])},off:function(){i(["off",c.call(arguments)])},get:function(){if(!e._h)throw new Error("[LiveChatWidget] You can't use getters before load.");return i(["get",c.call(arguments)])},call:function(){i(["call",c.call(arguments)])},init:function(){var n=t.createElement("script");n.async=!0,n.type="text/javascript",n.src="https://cdn.livechatinc.com/tracking.js",t.head.appendChild(n)}};!n.__lc.asyncInit&&e.init(),n.LiveChatWidget=n.LiveChatWidget||e}(window,document,[].slice))
</script>
<noscript><a href="https://www.livechatinc.com/chat-with/XXXXXXX/" rel="nofollow">Chat with us</a>, powered by <a href="https://www.livechatinc.com/?welcome" rel="noopener nofollow" target="_blank">LiveChat</a></noscript>
<!-- End of LiveChat code -->

XXXXXX is where our license code goes....I took it out to post here.

Any help is appreciated.

 

Posted
29 minutes ago, Bryon_S said:

I'm trying to get a LiveChat widget/popup working on my Invision site.  We have it working on our normal company website, but the java snippet provided by LiveChat doesn't seem to work.

There documentation says to paste it right before </body> so I tried this in globalTemplate and it does not work.  I tried it also right before </head> as per some suggestions for Java scripts here in the forum.  It just doesn't seem to do anything.  Am I missing something?  Is there something I need to enable?

The code provided is:

<!-- Start of LiveChat (www.livechatinc.com) code -->
<script>
    window.__lc = window.__lc || {};
    window.__lc.license = XXXXXXX;
    ;(function(n,t,c){function i(n){return e._h?e._h.apply(null,n):e._q.push(n)}var e={_q:[],_h:null,_v:"2.0",on:function(){i(["on",c.call(arguments)])},once:function(){i(["once",c.call(arguments)])},off:function(){i(["off",c.call(arguments)])},get:function(){if(!e._h)throw new Error("[LiveChatWidget] You can't use getters before load.");return i(["get",c.call(arguments)])},call:function(){i(["call",c.call(arguments)])},init:function(){var n=t.createElement("script");n.async=!0,n.type="text/javascript",n.src="https://cdn.livechatinc.com/tracking.js",t.head.appendChild(n)}};!n.__lc.asyncInit&&e.init(),n.LiveChatWidget=n.LiveChatWidget||e}(window,document,[].slice))
</script>
<noscript><a href="https://www.livechatinc.com/chat-with/XXXXXXX/" rel="nofollow">Chat with us</a>, powered by <a href="https://www.livechatinc.com/?welcome" rel="noopener nofollow" target="_blank">LiveChat</a></noscript>
<!-- End of LiveChat code -->

XXXXXX is where our license code goes....I took it out to post here.

Any help is appreciated.

 

Is your forum domain registered to use LiveChat?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...