I'm currently using Wordpress pages as our landing pages. On the page we have a Marketo form with hidden values to track UTM parameters.
The form itself is a global form used across different programs and pages. The form itself has hidden fields for Source, Content, Term and Campaign. Source had a default value defined because this form is used for the same purposes and doesn't change.
However upon filling out the form, the values setup in Wordpress for Content and Campaign are not passing through. What am I doing wrong and how can I ensure that the defined values in Wordpress pass through to the lead record in Marketo?
I've included 2 screenshots that might help
Solved! Go to Solution.
You have the tokens spelled/capitalized wrong on the WP side:
Please link to your page so we can see what that token section is actually doing in JS.
Also, inline images are a lot easier to use on Jive, FYI (not attachments).
Here is the link to the page with the forms: Clarke Farms - FarmLead
Hope it helps
Oh ok. I'll bring this up with the appropriate team. But this is new to me. How should it be looking?
In the screenshot of your WP page you appear to be able to customize the names, not just the values. So make sure use the right names/spelling.
Of course "token name" isn't the right term there, it should say "form field name," but it it is used as the form field name.
Ok so I should be using "content" instead of "Content" and "originalSource" instead of "Original Source" under Token Name?
Here is how the field Content is setup in Marketo and used on the form as a hidden field. Is that correct?
The Marketo Form Editor side is fine.
Your WP page is calling the Forms JS API addHiddenFields() to populate fields based on page-level variables., it's not using query parameters. This is the correct approach. You just have to spell the field names right.
Thank you for your Sanford. Much appreciated!
Sure, pls mark my answer as correct (my 2nd post in the thread).