Use landing page subdomain for embedded form library call, instead of Marketo domain

Use landing page subdomain for embedded form library call, instead of Marketo domain

When embedding a form, the code provided by Marketo has a flaw that makes it non working on Firefox in private mode. Eg:

<script src="//app-e.marketo.com/js/forms2/js/forms2.min.js"></script>

<form id="mktoForm_XXXX"></form>

<script>MktoForms2.loadForm("//app-e.marketo.com", "999-AAA-999", XXXX);</script>

The first script calls the form2.min.js library in the Marketo domain ("//app-e.marketo.com"), which is blocked by FF in private mode.

It should call the library in landing page subdomain instead, under the form of

<script src="//landing.page.subdomain/js/forms2/js/forms2.min.js"></script>

So that the embedded form also works on FF in private mode.

-Greg

4 Comments
Grégoire_Miche2
Level 10
SanfordWhiteman
Level 10 - Community Moderator

Pretty sure the PMs said this was going to be changed, but good to have the Idea!

Grégoire_Miche2
Level 10

Would have been useful to avoid a lot of trouble with embedded forms during the "domain name renewal crisis".

-Greg

kh-lschutte
Community Manager
Status changed to: Open Ideas