RAW HTML Module inside Custom Module Hubspot

figarali
Member

I want to add a custom field or module (raw_html) in the Hubspot custom module, which is not present in Hubspot custom module by default. Anyone here can guide me that how can I can custom field (raw_html) or any textarea type thing in Hubspot custom module.

 

Basically, I have a video embedded code in form of javascript, which I am adding in the editor but when I add it in the editor it removes javascript URLs.

 

 

1 Accepted solution
Jsum
Solution
Key Advisor

@figarali,

 

You could add the javascript directly into the custom module. If the urls need to be edited you could use a text widget in the custom module editor, replacing each url with one, then adding the urls to the text widget input fields on your page.

 

Optionally you could place HubL for the custom HTML module into the custom module editor. This would produce the effect you are wanting, but you may only be able to use this once per page unless you find a way to dynamically customize the name of the widget. Having multiple widgets with the system name can produce funky results. 

View solution in original post

0 Upvotes
1 Reply 1
Jsum
Solution
Key Advisor

@figarali,

 

You could add the javascript directly into the custom module. If the urls need to be edited you could use a text widget in the custom module editor, replacing each url with one, then adding the urls to the text widget input fields on your page.

 

Optionally you could place HubL for the custom HTML module into the custom module editor. This would produce the effect you are wanting, but you may only be able to use this once per page unless you find a way to dynamically customize the name of the widget. Having multiple widgets with the system name can produce funky results. 

0 Upvotes