Skip to main content
Aug 17, 2015 8:58 PM UTC
Delivered

{ prefill } mktoPreFillFields script should be injected further down in <head>

When Marketo's form prefill feature injects its <script> tag as the first child of the <head> tag, it confuses Internet Explorer's compatibility-mode detection and causes pages to be rendered in old IE modes (ex: IE7 emulation).

By default, please skip over both <meta charset> and <meta http-equiv="X-UA-Compatible"> to ensure proper cross-browser support.

See also:

Marketo, Internet Explorer, X-UA-Compatible, mktoPreFillFields

11 replies

Aug 24, 2015 2:50 PM UTC

We are forced to workaround this issue by disabling the "prefill" feature when creating landing pages.  (Edit Draft -> Menu -> Form Settings -> uncheck the "Enable Form Prefill" option)

Since we feel strongly about the "customer service" value-added by having the prefill feature, it is an urgent issue to resolve by fixing the placement of the injected "prefill" JavaScript.

Translate
Justin_Cooperm2
Level 10
Nov 12, 2015 6:08 PM UTC

Victor,

I've logged this with our engineering team. I'll work on changing this functionality for you.

Translate
Dec 8, 2015 4:42 PM UTC

Justin,

I'm looking forward to the day that the functionality fix is implemented and released to production.  How will I know about it once that happens? *looks for a way to get email notifications*

Translate
Mar 7, 2016 5:14 PM UTC

I'm running into the same problem with our IE users. Would love for this script to be injected towards the bottom of <head> instead of the top.

Translate
Justin_Cooperm2
Level 10
Mar 8, 2016 7:13 PM UTC

I have someone working on it. Planning to add an option in Admin that will let you control whether it goes at the beginning or end of the <head>

Translate
Justin_Cooperm2
Level 10
Apr 6, 2016 4:35 PM UTC

This is coming in the Spring release.

Translate
Apr 6, 2016 5:00 PM UTC

This news is awesomesauce! Thanks!

Translate
Justin_Cooperm2
Level 10
Jun 14, 2016 10:42 PM UTC

Done! Go to Admin > Landing Pages > Settings and choose Inject Prefill Script At End Of Head

Translate
Oct 26, 2016 3:34 PM UTC

Wow - I am SO glad I found this article - been having an incredible annoying issue with IE and my landing pages, just for the users at our company, and this appears to have solved it.

Translate
Oct 26, 2016 3:58 PM UTC

I know, right? Hours of trial-and-error testing went into making the initial report. The "fix" really should be "ON" by default, though. I just don't see any reason why they'd want it at the TOP of <head>, ever.

Anyway, please share the good news to all your user groups!

Translate
Feb 7, 2020 2:36 AM UTC
No text available
Translate