SOLVED

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

Go to solution
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
SanfordWhiteman
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
SanfordWhiteman
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).

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

SanfordWhiteman
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
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?

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

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

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

Anonymous
Not applicable

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

Thank you for your Sanford. Much appreciated!

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