Adding
I need to embed the following script of a Marketo form onto our website:
<script src="//app-ab03.marketo.com/js/forms2/js/forms2.js"></script>
<form id="mktoForm_1010"></form>
<script>MktoForms2.loadForm("//app-ab03.marketo.com", "850-JUB-810", 1010);</script>
Does anyone know how to write the above script without including the <script> tags as Sitefinity requires?
Thanks in advance.
Hello Jonny,
By definition script tags are required in order to execute Javascript logic. Our Javascript widget does not need them since it wraps all logic inside it in script tag that is why you need to remove them when using it.
Additionally I believe you will experience problems with the form tag as well since Sitefinity is an asp.net webform application and by asp.net standards it can only consist of a single form tag on the page.
Also I have found the following forum thread you have opened:
http://www.sitefinity.com/developer-network/forums/designing-styling/embed-marketo-form-2-0
On the Marketo module - Please go to Administration->Modules & Services and enable the Marketo Connector.
Regards,
Pavel Benov
Telerik