HTML booking widget embed not working

Hi :slight_smile:

Im need to embed this html widget for an 8to2 booking system they use and its not showing the widgets when i use the html element - only a link to the booking.

It should look like the preview at the top of the left screenshot, but it only show the link to the online booking page (after saving) as shown in the right side.

Here’s the html code pasted

<a id="TTE-a1cb6c37-4af4-4068-b115-65ac83b1b791" href="https://10to8.com/book/euecwnfoobdpxkfsmuqij-free/" target="_blank">See Online Booking Page</a> <script src="https://d3saea0ftg7bjt.cloudfront.net/embed/js/embed.min.js"></script> <script> window.TTE.init({ targetDivId: "TTE-a1cb6c37-4af4-4068-b115-65ac83b1b791", uuid: "a1cb6c37-4af4-4068-b115-65ac83b1b791", buttonColor: "rgba(252, 185, 134, 1)", buttonFontColor: "rgba(0, 0, 0, 1)", buttonHoverColor: "rgba(249.66532258064518, 130.52419354838696, 39.83467741935482, 1)", progressColor: "rgba(252, 185, 134, 1)", progressFontColor: "rgba(0, 0, 0, 1)", clickableProgressColor: "rgba(254.33467741935485, 239.47580645161287, 228.16532258064512, 1)", }); </script>

Can anyone help as its really integral to the site?

Many thanks

1 Like

Agh - apologies folks - i did more searching and found the answer > Error on third party code integration in HTML element - doh :slight_smile:
< Code only runs when viewing the frontend preview :slight_smile:

1 Like

:slight_smile: Thank you! Happy the solution has been found quickly!

1 Like