Possible to insert custom HTML or Javascript?

Respondidas


Publicado 23 mar 2023

I saw that there is the ability to edit theme code. However, whenever I insert my custom javascript or HTML it doesn't seem to work. For context, the code I want to insert is for a chatbot and a section of the code is as follows:

<widgetbot server="xxx" channel="xxx" shard="https://emerald.widgetbot.io" width="800" height="600" ></widgetbot> <script src="https://cdn.jsdelivr.net/npm/@widgetbot/html-embed"></script>

Any idea how to fix this please?

Thanks.


1

3

3 comentarios

      Hi K

      Is that code currently placed on your live instance so that I can go through it was causing the issue and let you know how to resolve it 

       

      Thanks

      Pulkit

      Team Diziana

      0


      Pulkit Pandey Thanks. I tried that and inserted it like this.

      What ended up happening was that our entire zendesk page could not load (shows a blank screen). Any idea on how to fix this?

      0


      Hi K

      You need to add the targeted code inside the document_head.hbs file.

       

      Thank You 

      Pulkit

      Team Diziana

      1


      Iniciar sesión para dejar un comentario.

      ¿No encontró lo que buscaba?

      Nueva publicación