Embedding Marketo Forms in Kentico CMS

Highlighted
Anonymous
Not applicable

Embedding Marketo Forms in Kentico CMS

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

Tags (2)
6 REPLIES 6
Highlighted
Level 10 - Community Moderator

Re: Embedding Marketo Forms in Kentico CMS

What do you mean by "the Lightbox code" as opposed to embedding the form? These aren't inherently different things (you can use the Marketo embed code and display the form in a lightbox/modal).

Anonymous
Not applicable

Re: Embedding Marketo Forms in Kentico CMS

@sanford We're wanting the Marketo form to be embedded within the content (normal) vs. opening up in a splash screen (lightbox, please see screen capture below)

Screen Shot 2018-04-24 at 2.09.20 PM.png

Highlighted
Level 10 - Community Moderator

Re: Embedding Marketo Forms in Kentico CMS

OK, so you're already using the Marketo embed code, that's why it's confusing (they're both forms of the embed code).

To embed within page content, you simply switch to standard Code Type, position the Marketo-specific <form> tag in your document, and the form is displayed right where you put it.

How does your outcome differ from this expectation?  Also please provide a link as that's the only way to see the combo of code and displayed output.

Highlighted
Anonymous
Not applicable

Re: Embedding Marketo Forms in Kentico CMS

https://stage-kentico.scrumalliance.org/learn-about-scrum/community-webinars/webinar-replays/certifi...

Hi @sanford,

Thank you for helping me out with the issue. When we embed the normal code on to the URL above, the code gets distorted

Screen Shot 2018-04-24 at 2.09.27 PM.png

Screen Shot 2018-04-24 at 2.26.52 PM.png

One of our developers suggested placing "https"//marketo" in front of the javascript and also removing the min.js.  However, when I submitted a Marketo request ticket, I was informed to just use the embed code.

Highlighted
Level 10 - Community Moderator

Re: Embedding Marketo Forms in Kentico CMS

One of our developers suggested placing "https"//marketo" in front of the javascript and also removing the min.js.

Neither of these will have any effect.

You don't have an appropriate Marketo <form> tag in this document, because almost the entire <body> is a Kentico form.

pastedImage_2.png

In HTML, a <form> is not allowed inside another <form>.

Highlighted
Anonymous
Not applicable

Re: Embedding Marketo Forms in Kentico CMS

Just a quick note, we recently released a new version of Connect for Kentico​ that supports this scenario for Kentico CMS based sites. If you are using Kentico with Marketo I highly recommend you check it.