I realize this is an old post, but I'm trying to achieve this same thing - put a Marketo token within an iframe on our webpage. However, when I test it it's not showing up at all. Is there anything special I need to do for the tokens to render correctly? Currently I have them just inside an HTML box along with the rest of the page contents on my Marketo landing page. Perhaps that's where I went wrong?
Thanks for any help and guidance!
When you use an IFRAME, you are in essence embedding an entire web page (document) inside another web page.
If http://pages.example.com/formlp.html works on its own, then <IFRAME src="http://pages.example.com/formlp.html"> will work as well. Of course you need to adjust height and width, but the default dimensions should at least show you something. What's the URL of your (non-Mkto) page where you're trying to put the IFRAME?
Thank you, Sanford! I realized that my Marketo Landing Page was not living under the Program that included my tokens. So the first step was to move it there.
Then the token was showing the correct URL (a personalized link to a GoToWebinar event) but it wasn't generating the <a href> tag to actually make it a link, so I just highlighted the token when I was editing the landing page and clicked the link button to manually force it to be a link.
Now it is working! Phew. Thanks for all your help!