# Live Chat Code not working

**URL:** <https://community.hubspot.com/t/live-chat-code-not-working/58063>\
**Category:** Sales Hub Tools\
**Tags:** free\
**Created:** [May 31, 2022, 4:38pm UTC](https://community.hubspot.com/t/live-chat-code-not-working/58063 "2022-05-31T16:38:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edmundk33](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/edmundk33/32/35926_2.png) [@edmundk33](https://community.hubspot.com/u/edmundk33)\
**Post date:** [May 31, 2022, 4:38pm UTC](https://community.hubspot.com/t/live-chat-code-not-working/58063/1 "2022-05-31T16:38:50Z")

</div>

I have generated a Live Chat code but when my host applies it our site it doesn’t work. I have created a ChatFlow but still doesn’t work. Here is the code:

\<!-- Start of HubSpot Embed Code --\>

\<script type=“text/javascript” id=“hs-script-loader” async defer src=“[js.hs-scripts.com/4915462.js](https://js.hs-scripts.com/4915462.js)”\>\</script\>

\<!-- End of HubSpot Embed Code --\>

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![JenWeiss](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenweiss/32/93582_2.png) [@JenWeiss](https://community.hubspot.com/u/JenWeiss)\
**Post date:** [June 1, 2022, 11:15am UTC](https://community.hubspot.com/t/live-chat-code-not-working/58063/2 "2022-06-01T11:15:20Z")

</div>

Hi @edmundk33,

Thank you for reaching out to us!

I would like to tag in some of our experts in on this. @Bryantworks , [@Crystal\_Hopper](https://community.hubspot.com/t5/user/viewprofilepage/user-id/5747), @tjoyce , would you have any insight on what the roadblock would be?

Best,

@JenWeiss

---

<div class="post-metadata">

**Author:** ![edmundk33](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/edmundk33/32/35926_2.png) [@edmundk33](https://community.hubspot.com/u/edmundk33)\
**Post date:** [June 1, 2022, 4:50pm UTC](https://community.hubspot.com/t/live-chat-code-not-working/58063/3 "2022-06-01T16:50:05Z")

</div>

Hi Jen,  
I got it figured out finally, thank you.
