# Widget not showing up

**URL:** <https://community.hubspot.com/t/widget-not-showing-up/30582>\
**Category:** CMS Development\
**Tags:** starter\
**Created:** [January 21, 2021, 5:42pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582 "2021-01-21T17:42:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CPalomino](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cpalomino/32/76793_2.png) [@CPalomino](https://community.hubspot.com/u/CPalomino)\
**Post date:** [January 21, 2021, 5:42pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/1 "2021-01-21T17:42:17Z")

</div>

Hi,

I’m having trouble loading a widget on a landing page. It won’t show up in the editor at all. If I adjust the height, it will eventually show up after a couple of tries but in the preview only. Then when I try to add another widget at the bottom of the page, it won’t show up at all. It will also at times mess with the widget at the top of the page.

> **[BombBomb](https://bbemaildelivery.com/app/error.php)**

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 21, 2021, 9:52pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/2 "2021-01-21T21:52:22Z")

</div>

Hello @CPalomino

Thanks for the video! Great way of illustrating the issue.

Could you also do a couple extra steps?

- Could you send a preview link to a page with that module? (make sure the link does not start with app)
- Could you post the code of that module using the html insert tool, **\</\>.**

@jonchim , @daveroma , @JanetArmstrong once we have some code to look at, could you all lend a hand here 🙏

---

<div class="post-metadata">

**Author:** ![CPalomino](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cpalomino/32/76793_2.png) [@CPalomino](https://community.hubspot.com/u/CPalomino)\
**Post date:** [January 22, 2021, 1:37pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/3 "2021-01-22T13:37:17Z")

</div>

Hello @dennisedson

Thank you!

I have two landing page variations, both having the same issue:

[http://palominolending.hubspotpagebuilder.com/-temporary-slug-5b504267-a3f8-42fc-9228-2ecc16cf5c93?hs\_preview=lnyeEgIq-40838778038](http://palominolending.hubspotpagebuilder.com/-temporary-slug-5b504267-a3f8-42fc-9228-2ecc16cf5c93?hs_preview=lnyeEgIq-40838778038)

[http://palominolending.hubspotpagebuilder.com/-temporary-slug-391d1d88-e479-4a77-9def-681c71272aac?hs\_preview=OiMBvgQW-40873981883](http://palominolending.hubspotpagebuilder.com/-temporary-slug-391d1d88-e479-4a77-9def-681c71272aac?hs_preview=OiMBvgQW-40873981883)

`<div id="homebot_homeowner"></div> <script> (function (h,b) { var w = window, d = document, s = 'script', x, y; w['__hb_namespace'] = h; w[h] = w[h] || function () { (w[h].q=w[h].q||[]).push(arguments) }; y = d.createElement(s); x = d.getElementsByTagName(s)[0]; y.async = 1; y.src=b; x.parentNode.insertBefore(y,x) })('Homebot','https://embed.homebotapp.com/lgw/v1/widget.js'); Homebot('#homebot_homeowner', 'f195bf2798ba55f9828f0a4b06d73b9e3a91139a364c0c48', {'theme':'dark-mode-theme'}) </script>`

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 22, 2021, 5:49pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/4 "2021-01-22T17:49:48Z")

</div>

Thanks @CPalomino !

I am almost scared to ask what that script does. 😬

Instead of using the embed function that you used, what if you insert this in the html of the rich text editor?

So, click the advanced, then source code and paste in there.

 ![36878iF25F6640B9F40639.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/e/3e41f4d77df641282119125b8b9936bb17e910a7.png)

---

<div class="post-metadata">

**Author:** ![CPalomino](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cpalomino/32/76793_2.png) [@CPalomino](https://community.hubspot.com/u/CPalomino)\
**Post date:** [January 22, 2021, 6:44pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/5 "2021-01-22T18:44:07Z")

</div>

Thank you @dennisedson !

I’m not a developer but yes that looks intense 😅 I’m copying straight from another service I use, they provide the widget code.

It’s working for the top of the page but not for the bottom for some reason.

> **[BombBomb](https://bbemaildelivery.com/app/error.php)**

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 22, 2021, 7:14pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/6 "2021-01-22T19:14:50Z")

</div>

OK @CPalomino ,

I see the issue. In that script, it is looking for the id of the div. In the code you provided, that is

`<div id="homebot_homeowner">`

and if you look near the end of the script, you will see it being referenced like this

`Homebot('#homebot_homeowner', 'f195bf2798ba55f9828f0a4b06d73b9e3a91139a364c0c48',`

If you add it in a second place, you will need to change that id. It can be as simple as adding a 1 to the end of it 😁

I tested [here](http://dedson-7965346.hs-sites.com/-temporary-slug-43153e3e-a7c7-4ab3-bb8e-cc6ea066842c?hs_preview=BuIoVgXP-39860570934)

This is the code I used for the second one

```lia-code-sample
<div id="homebot_homeowner1"> </div>
<script> (function (h,b) { var w = window, d = document, s = 'script', x, y; w['__hb_namespace'] = h; w[h] = w[h] || function () { (w[h].q=w[h].q||[]).push(arguments) }; y = d.createElement(s); x = d.getElementsByTagName(s)[0]; y.async = 1; y.src=b; x.parentNode.insertBefore(y,x) })('Homebot','https://embed.homebotapp.com/lgw/v1/widget.js'); Homebot('#homebot_homeowner1', 'f195bf2798ba55f9828f0a4b06d73b9e3a91139a364c0c48', {'theme':'dark-mode-theme'}) </script>

```

Please note, that I did not use the embed option! I used the html view of the rich text editor as I referenced earlier

---

<div class="post-metadata">

**Author:** ![CPalomino](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cpalomino/32/76793_2.png) [@CPalomino](https://community.hubspot.com/u/CPalomino)\
**Post date:** [January 22, 2021, 7:33pm UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/7 "2021-01-22T19:33:14Z")

</div>

It works! Thank you @dennisedson !!! 🙂

---

<div class="post-metadata">

**Author:** ![M365](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@M365](https://community.hubspot.com/u/M365)\
**Post date:** [December 1, 2023, 12:59am UTC](https://community.hubspot.com/t/widget-not-showing-up/30582/8 "2023-12-01T00:59:49Z")

</div>

Hola, sabes cómo puedo moverm de posicion el widget de mi chatbot en mis pagina web?
