Home > Technical Support > Troubleshooting > Chat button is not visible in Thrivecart

Chat button is not visible in Thrivecart

If you're using Thrivecart and inserting LiveAgent button integration code as tracking codes, the tracking codes are enclosed in a <div> element with opacity set to 0, therefore they are invisible.

LiveAgent integration code places the button HTML code right next to the integration code, so the button is also invisible.

There is a simple solution to this problem, by using this slightly modified integration javascript code:

<script type="text/javascript">
(function(d, src, c) { var t=d.scripts[d.scripts.length - 1],s=d.createElement('script');s.id='la_x2s6df8d';s.async=true;s.src=src;
s.onload=s.onreadystatechange=function(){var rs=this.readyState;if(rs&&(rs!='complete')&&(rs!='loaded')){return;}c(this);};document.body.appendChild(s);})(document,
function(e){ LiveAgent.createButton('<your_button_ID>', e); });

This section of the default integration code


is replaced with the following:


The key change is that it doesn't place the HTML code of the button right next to the integration code, but places it at the end of HTML document just before <body> element, outside of the invisible <div> enclosing the tracking codes.

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us


+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2020 LiveAgent.com, All rights reserved