Trying to embed a form that includes program ID in wordpress | Community
Skip to main content
New Participant
April 13, 2020
Question

Trying to embed a form that includes program ID in wordpress

  • April 13, 2020
  • 1 reply
  • 4288 views

I'm somewhat new to marketo and I can get my form to show up using the embed code but im also trying to include a program ID as well.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
New Participant
April 13, 2020

Marketo tokens ({{lead.tokens}}, {{my.tokens}}, {{program.tokens}}, etc.) only work on Marketo LPs.

 

If you use my de facto standard Pre-Fill JS, you can use that to import tokens into a non-Marketo page if you want. 

 

 

BrianHo9Author
New Participant
April 13, 2020

Is it possible that this is what's being done here? fiscalnote.com/whitepapers/local-legislation-for-covid-19

they seem to be attaching the programID to the div. This is currently on our site, but not something i created, it was a previous person.

SanfordWhiteman
New Participant
April 13, 2020

That data- attribute is statically added to the <div> on the server side. I have no idea where it comes from but probably hard-coded in the CMS. It's not being read in the browser.