---
title: "Embed Marketo lead forms"
slug: "/help/integrations/marketo/lead-forms"
last_updated: "2025-05-05T18:23:41Z"
zendesk_id: 22080928117651
zendesk_url: "https://help.walnut.io/hc/en-us/articles/22080928117651-Embedding-Marketo-Lead-Forms"
locale: "en-us"
category: "Connect and Optimize"
section: "Marketo"
product: "integrations"
topic: "marketo"
displayed_sidebar: "integrationsSidebar"
sidebar_position: 3
---

Integrating a lead form into your Walnut demo allows you to effortlessly track and manage contacts created through the demo. When a lead is generated from the embedded form, the associated demo data is automatically linked to that lead. This includes:

1.  Creating a new Walnut Activity under the contact.
2.  Updating contact attributes with relevant demo data.

_Reminder: Before following the instructions below, b__e sure to grab the embed code from Marketo. Learn how to create a form in Marketo [here](https://developers.marketo.com/javascript-api/forms/)._ 

### Embedding a Lead Form In Walnut

Open Walnut's editor to the relevant template. Select the **forms** **icon** ![Button (1).png](pathname:///images/f2721f0ef6fbfc6e.png) in the top right corner.

![](pathname:///images/bfa62f1020b27f3a.png)

Click ![](pathname:///images/bed70a0461400e07.png) from the right side panel. 

![](pathname:///images/485f12f30ab64b49.png)

This will open up a pop-up and you will be instructed to paste your embed code in the **side panel.**

![](pathname:///images/ef017f195821bd54.png)

Once you've given the form a name and added the code, you will need to determine when to have **the form shown.** You can have the form shown when users land on a specific **screen,** **guide, or on the [demo floating button.](https://help.walnut.io/hc/en-us/articles/24475882922643)** [](https://help.walnut.io/hc/en-us/articles/24475882922643)

![](pathname:///images/42ff3ce10fcf42ec.png)

A form can appear on **one specific screen in, on** **multiple** **guides, or on the [demo floating button.](https://help.walnut.io/hc/en-us/articles/24475882922643)**

![](pathname:///images/a4327b0d38b72ed4.png)

Once you've specified where the form should appear, you can decide what happens after the form is submitted. Click **done** to embed the form.![](pathname:///images/28ec6b94fae3fea4.png)

Once the form is submitted, you will see it saved in the **right side panel.**

![](pathname:///images/f31857a82d8f6691.png)

To see where the detail is housed in **Marketo** once the form is submitted, [read this article.](/help/integrations/marketo/demo-data)  

To see how to **embed** Marketo Lead Forms, check out the following demo:

<WalnutDemo slug="27dd526f-20c8-481b-8b09-3b2b31e03255" title="Walnut embedded demo" />

### Important To Note 📝

-   The enriched demo data will appear in your Marketo account **two** hours after your demo with the lead form was viewed. 
-   Currently, only one form can be added per demo. It can appear on one screen, or throughout multiple guides. [You can make edits to the form at any time](https://help.walnut.io/hc/en-us/articles/20441615179027).
-   Once a prospect has seen or filled the form, they will not be directed to it again even if you have multiple guide buttons linked to it. This ensures that the lead form does not hinder the user from accessing other demos they may be viewing.
    
-   The process for embedding a lead form in your demo is simple and easy. 
    -   Once you've embedded your form into the demo, you will see all new leads appear in your original marketing platform. 
    -   You are not required to integrate Walnut with another tool in order to embed forms. However, with Walnut's Marketo integration, users can access additional demo insights and lead tracking within Marketo. Learn how to set up the Marketo integration [here](/help/integrations/marketo/connect-marketo).
