Embedding a snippet into a Marketo Landing Page? | Community
Skip to main content
October 14, 2015
Solved

Embedding a snippet into a Marketo Landing Page?

  • October 14, 2015
  • 2 replies
  • 5215 views

Hey all,

Has anyone used Snippets with responsive landing pages? I'm trying to embed a snippet into a particular area of my code, and I can't find a code id for it. Since it's responsive, I can't drag and drop it, because it won't know where to live on the page.

I'm not using Marketo's responsive templates, by the way.

Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Grégoire_Miche2

Hi Allison,

ON Free forms, you just drag and drop the snippet where you want. The code I gave you earlier is for guided LP templates only.

But be aware, Free form are based on absolute positioning and should be developed on Marketo standards.

-Greg

2 replies

Grégoire_Miche2
New Participant
October 14, 2015

Second though,

Is your LP Template a Guided one or a free form one ?

-Greg

October 14, 2015

@gregoire_michel where do I find the Snippet id to replace "exampleSnippet"? I'm using a free form lp.

Grégoire_Miche2
Grégoire_Miche2Accepted solution
New Participant
October 14, 2015

Hi Allison,

ON Free forms, you just drag and drop the snippet where you want. The code I gave you earlier is for guided LP templates only.

But be aware, Free form are based on absolute positioning and should be developed on Marketo standards.

-Greg

Grégoire_Miche2
New Participant
October 14, 2015

Hi Allison,

Check that the template has <div class="mktoSnippet" id="exampleSnippet" mktoName="Example Snippet"></div> where you want the snippet to be included. It is probably missing.

-Greg

Patrick_Cava2
New Participant
June 15, 2017

where do you locate the ID for the snippet?

Grégoire_Miche2
New Participant
June 15, 2017

HI Patrick,

When in Marketo design studio, you click the snippet, the URL looks like this: https://app-e.marketo.com/#SN1B18ZN56

The id is the number between "B" and "ZN". In the case above, it's 18.

-Greg