Skip to main content
September 9, 2016
Question

Parsing URL components to populate lead fields

  • September 9, 2016
  • 1 reply
  • 3971 views

We are looking to get more details about our SEM leads onto the lead record within SFDC, and we want to parse portions of the referring URL (such as Adwords Campaign or Keyword) to populate the corresponding fields on the lead record.

Does anyone have suggestions on how to do this?

Thanks in advance for the help!

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

1 reply

Jessica_Kao3
Level 7
September 9, 2016

You should definitely have a utm strategy in the links that you are creating for your SEM campaigns but more importantly, these should be pulled into your marketo through hidden utm fields on your forms. 

Create the standard utm fields in Marketo:

utm_source

utm_campaign

etc.

Place these as hidden fields onto the forms where the SEM traffic will be directed to.

Choose Autofill:  Get Value from URL Parameter.  Set Parameter name to utm_source or the corresponding field name.

Create programs and trigger campaigns to automatically add members into the correct program and how you want to group people.

(i.e. linked in, Google, Bing, etc)

Here's an article that also goes into more detail about UTM tracking. 

UTM Tracking & Marketo – Part Deux

September 9, 2016

Thanks, Jessica. If we are not using Marketo landing pages for these ads, is there a way for us to do it?

SanfordWhiteman
Level 10
September 10, 2016
If we are not using Marketo landing pages for these ads, is there a way for us to do it?

Yes, embedded Marketo forms also support hidden field AutoFill from URL params.