Jun 18, 2021 7:57 AM
I am trying to embed Hubspot forms on a website made in Umbraco. When I add the embedding code to a field where I can edit the code, and click OK, the code after <![endif]--> is deleted automatically and nothing is displayed in the field.
Is there a way I can fix this? I am not a developer, nor do we currently have a web developer on the team.
Looking forward to hear your answers!
Jun 21, 2021 5:26 AM
Thank you for reaching out.
I'm not familiar with Umbraco and unsure what could be happening, can you send us a screenshot of how it looks like?
Also tagging @tjoyce - did you come across this before or have you got an idea what could be happening?
Jun 21, 2021 8:34 AM
Thanks for you message. This is how it looks when I c/p the code in and press OK, and how it looks when I reopen the code editor. I have tried without the <if> statement in the beginning as well.
Jun 22, 2021 5:37 AM
Thank you @tjoyce
Thank you for your reply @JonasRytter
I did some research online, and while I don't understand everything in this thread it seems script is being filtered from this source code section in Umbraco.
I'd recommend reaching out to Umbraco support how you could add script tags on your page.
Jun 21, 2021 7:04 AM
@JonasRytter - Since IE support has officially been dropped by MS, I would just remove the following code