Wordpress & Forms

Megan_Reed1
Level 4

Wordpress & Forms

The website development company that I am working with (we currently have a Wordpress site) said if I only use iFrame forms on our site they will not be responsive (which our site currently is) and if users have Ad block turned on it the iFrame form will not appear.

First, are these both true.

Second, we are currently using the Gravity Forms Marketo Add-On. Sometimes it works and sometimes it doesn't...what's my best option?
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: Wordpress & Forms

Is there any pattern when Gravity Forms Marketo Add-On does not work?
The most immediate thought would be users disabling JavaScript. 

Would a lead failing once and, in a later stage, successfully submitting a form?

Amy_Lepre
Level 7

Re: Wordpress & Forms

Responsive iFrames: http://www.smashingmagazine.com/2014/02/27/making-embedded-content-work-in-responsive-design/

AdBlock - One way to find out is to install AdBlock, then visit a test page on your WordPress site with a form embedded into an iFrame.
Anonymous
Not applicable

Re: Wordpress & Forms

1 - It is possible to make an iFrame responsive. Please send them the following link: 

http://stackoverflow.com/questions/17838607/making-an-iframe-responsive

2 - Browser extensions like Ghostery and Adblock block the browser from loading Marketo forms and the Munchkin tracking script. 

One way to address is to display a notification to a user that the form will not load, unless they turn off Adblock. I do not recommend this approach. 

A second workaround, which is more work but I would recommend over the first approach, is to detect if the user is running Adblock. If the user is running Adblock, then show the user an alternate form that is generated by your website. Once you have the data from your form, you can do a "server-side post" to send the data into Marketo. 

Here is the code to detect if a user is running Adblock: 
https://github.com/MurtzaM/Detect-Ad-Blocking-Extension

Here you can find instructions on setting up a server-side post: 
https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PYzlAAG

I would recommend working with Marketo professional services to implement this. 
Megan_Reed1
Level 4

Re: Wordpress & Forms

Thank you all for your feedback!