Jump to content

I want to use a livechat from our ODOO erp system, using an embed code in squarespace

Recommended Posts

Hi,

We work with the Odoo ERP system, and it offers a livechat function.

They provide  code to embed this into your own website. Like squarespace.

The embed code allways worked by putting it as a code snipet in an embed code black inside the footer.

But moving to the newest versions of squarespace, suddenly it doesn't work anymore.

image.thumb.png.51df7b48589fd2ff7b127dfb5afc9dad.png

I've tried all, putting it in a head tag code like it suggestes on the odoo module (but before it was not necessairy),

i've tried putting it as a code injection in the footer section. Adjusting the code with help from chatgpt so it would be more clean.

But I just can't seem to make it work.

 

This is the code that should be embed:


            
            <link rel="stylesheet" href="https://sofa-dome.odoo.com/im_livechat/external_lib.css"/>
            
            <script type="text/javascript" src="https://sofa-dome.odoo.com/im_livechat/external_lib.js"></script>
            
            <script type="text/javascript" src="https://sofa-dome.odoo.com/im_livechat/loader/2"></script>


According to odoo, should be put in a head tag. 

I'm not an expert in coding , I assume maybe a slight adjustment of the code would help and I'm missing something simple.

 

I would appreciate if someone can help me out.

Link to comment
  • Replies 3
  • Views 672
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hi,

If I look on your link, at least I allready see a text icon on the right down corner.
That's more then I have now. But indeed it give an error.

This is the code:


            
            <link rel="stylesheet" href="https://sofa-dome.odoo.com/im_livechat/external_lib.css"/>
            
            <script type="text/javascript" src="https://sofa-dome.odoo.com/im_livechat/external_lib.js"></script>
            
            <script type="text/javascript" src="https://sofa-dome.odoo.com/im_livechat/loader/2"></script>

 

And this is the chat itself you can try in any browser:

https://sofa-dome.odoo.com/im_livechat/support/2

It really did work before, but also odoo updates now and then to a new version.
So it's very difficult to tell where is the problem.

At least now I received an error code, I've also send this to the odoo support team to check it out.

I don't know if you have a possibility to check more?

Did you also try to put it in a head tag? For me didn't make a difference, and before it was not necessairy.

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.