On my companies website we have a script labeled as
This is the link https://go.exxactcorp.com/js/forms2/js/forms2.js . Does anyone know if this is important for Marketo? As far as I am aware Marketo does not require a custom script to enable forms on websites.
Solved! Go to Solution.
Your terminology is off. We wouldn't say "relabel" here. You're talking about loading the script from an alternate domain or hostname.
Yes, you can load the Marketo form embed from either your Primary LP domain or any valid Domain Alias. And both of those domains are already set up correctly in DNS, so you can use either one.
P.S. Deferring the Forms 2.0 script is dangerous unless you understand how defer works.
That's the Forms 2.0 library. It's critical for all Marketo forms, not "custom" at all.
Thanks for replying to my question. I have a follow up question. We currently have two websites and I am assuming we will need to have this Form 2.0 library on both. Is there a way we can have the library on both website but labeled differently to each respective website?
Not sure what you mean by "labeled differently" - the Marketo forms embed code always includes the Forms 2.0 library <script>, plus a <form> element and an initialization <script> tag that loads the form.
What exactly are you trying to accomplish? Please be detailed.
This is the Forms 2.0 library for the Exxact website https://go.exxactcorp.com/js/forms2/js/forms2.js .
I would like to either create or "re-label" the Forms 2.0 library to https://go.sabrepc.com/js/forms2/js/forms2.js .
The image below is the the source code for our SabrePC website
Your terminology is off. We wouldn't say "relabel" here. You're talking about loading the script from an alternate domain or hostname.
Yes, you can load the Marketo form embed from either your Primary LP domain or any valid Domain Alias. And both of those domains are already set up correctly in DNS, so you can use either one.
P.S. Deferring the Forms 2.0 script is dangerous unless you understand how defer works.