Can I embed Marketo Form | Community
Skip to main content
December 12, 2017
Question

Can I embed Marketo Form

  • December 12, 2017
  • 3 replies
  • 7145 views

Can I embed Marketo form into WordPress?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

SanfordWhiteman
Level 10
December 12, 2017

Absolutely, Scott! The standard Forms 2.0 embed code works fine. You'll want to use a generic JS tag plugin with WP, I've recommended one here before if you search...

Mario_Baroja5
Level 2
December 12, 2017

Hi Scott,

It is easy. Here you'll find a step by step guide on how to do it on regular web pages https://docs.marketo.com/display/public/DOCS/Embed+a+Form+on+Your+Website

However with Wordpress it is preferable you first place your form into a blank landing page and then embed the landing page itself into wordpress through a simple embed code such as <iframe src="w3.yourdomain.com/your-form-landing.html" width="450" height="640" frameborder="”0”"></iframe>.

That way you'll get a bit better performance.

All the best,

Mario

SanfordWhiteman
Level 10
December 12, 2017

A little more complicated than copy-and-paste, b/c in the WP CMS environment people try to stay away from statically putting HTML + JS in page templates.

Instead, there would usually be a level of management/abstraction: either a custom page type w/variables for the Marketo Form ID or at least a plugin that more delicately manages the tags.

Mario_Baroja5
Level 2
December 12, 2017

True Sanford, just wanted to offer an easy way out. The iframe option I suggested works, but as Sanford points out, you might want to dive a little bit deeper into it.

April 24, 2018

Hi all. Does anyone have experience embedding Marketo forms on the Kentico CMS? We are able to get the Lightbox code to appear correctly; however, we would like to embed the form on a web page.

SanfordWhiteman
Level 10
April 24, 2018

Yes, forms embed fine in Kentico. Better to open a new Products thread, though, to make sure responses concentrate on your specific question.

I don't understand what you mean by "Lightbox" in this context as different from the Marketo form embed code + lightbox.