SOLVED

UTM Parameters not passing through to Marketo and lead record

Go to solution
Highlighted
Anonymous
Not applicable

UTM Parameters not passing through to Marketo and lead record

Hello,

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

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Level 10 - Community Moderator

Re: UTM Parameters not passing through to Marketo and lead record

You have the tokens spelled/capitalized wrong on the WP side:

  • originalSource
  • LeadSource
  • content

View solution in original post

9 REPLIES 9
Highlighted
Level 10 - Community Moderator

Re: UTM Parameters not passing through to Marketo and lead record

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).

Highlighted
Anonymous
Not applicable

Re: UTM Parameters not passing through to Marketo and lead record

Hi Sanford,

Here is the link to the page with the forms: Clarke Farms - FarmLead

Hope it helps

Highlighted
Level 10 - Community Moderator

Re: UTM Parameters not passing through to Marketo and lead record

You have the tokens spelled/capitalized wrong on the WP side:

  • originalSource
  • LeadSource
  • content

View solution in original post

Highlighted
Anonymous
Not applicable

Re: UTM Parameters not passing through to Marketo and lead record

Oh ok. I'll bring this up with the appropriate team. But this is new to me. How should it be looking?

Highlighted
Level 10 - Community Moderator

Re: UTM Parameters not passing through to Marketo and lead record

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.

Highlighted
Anonymous
Not applicable

Re: UTM Parameters not passing through to Marketo and lead record

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?

content.png

content 2.png

Highlighted
Level 10 - Community Moderator

Re: UTM Parameters not passing through to Marketo and lead record

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.

Highlighted
Anonymous
Not applicable

Re: UTM Parameters not passing through to Marketo and lead record

Thank you for your Sanford. Much appreciated!

Highlighted
Level 10 - Community Moderator

Re: UTM Parameters not passing through to Marketo and lead record

Sure, pls mark my answer as correct (my 2nd post in the thread).