# Error on third party code integration in HTML element

**URL:** <https://community.sitejet.io/t/error-on-third-party-code-integration-in-html-element/804>\
**Category:** Integrations and Third Party Tools\
**Tags:** cms\_code\
**Created:** [August 7, 2021, 2:28pm UTC](https://community.sitejet.io/t/error-on-third-party-code-integration-in-html-element/804 "2021-08-07T14:28:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Fosseprez](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/mark_fosseprez/32/58_2.png) [@Mark\_Fosseprez](https://community.sitejet.io/u/Mark_Fosseprez)\
**Post date:** [August 7, 2021, 2:28pm UTC](https://community.sitejet.io/t/error-on-third-party-code-integration-in-html-element/804/1 "2021-08-07T14:28:26Z")

</div>

Dear,

I am getting following error on a third party integration in a HTML element in Sitejet website builder ([https://cms.sitejet.io/320733/contact](https://cms.sitejet.io/320733/contact)).  
According to the third party in question (10to8) the code seems correct at their side. Could you help me to get it properly embedded.

Google developer error shown:  
contact:27 Uncaught TypeError: Cannot read property ‘init’ of undefined

Third party code:  
this part is ok →   
[See Online Booking Page](https://10to8.com/book/qmqgepvleqpfaulqec/)  
this script gives the error →

thanks ahead,  
Mark

---

<div class="post-metadata">

**Author:** ![Lucian\_Dinu](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/lucian_dinu/32/141_2.png) [@Lucian\_Dinu](https://community.sitejet.io/u/Lucian_Dinu)\
**Post date:** [August 7, 2021, 4:02pm UTC](https://community.sitejet.io/t/error-on-third-party-code-integration-in-html-element/804/2 "2021-08-07T16:02:12Z")

</div>

Hi! I don’t see your website (your url can be acessed only from your partner account), but other users reported in the past similar [issues](https://community.sitejet.io/t/how-to-make-html5-banner-work-on-sitejet/716/10).

If you are looking in the Editor in the Preview mode … the script(in the HTML element) will not run/execute in the Editor.  
Preview the page in the **Frontend** (Live/Preview)

---

<div class="post-metadata">

**Author:** ![Andre](https://dub1.discourse-cdn.com/flex017/user_avatar/community.sitejet.io/andre/32/3459_2.png) [@Andre](https://community.sitejet.io/u/Andre)\
**Post date:** [August 20, 2024, 11:12am UTC](https://community.sitejet.io/t/error-on-third-party-code-integration-in-html-element/804/3 "2024-08-20T11:12:59Z")

</div>


