Skip to main content
Dec 12, 2017 7:38 PM UTC
Question

Can I embed Marketo Form

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.

10 replies

SanfordWhiteman
User Group Leader
User Group Leader
Dec 12, 2017 7:50 PM UTC

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...

Translate
Mario_Baroja5
Level 2
Dec 12, 2017 8:08 PM UTC

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

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Dec 12, 2017 8:13 PM UTC

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.

Translate
Mario_Baroja5
Level 2
Dec 12, 2017 8:18 PM UTC

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.

Translate
Apr 24, 2018 7:52 PM UTC

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.

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Apr 24, 2018 7:56 PM UTC

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.

Translate