Original Referrer field used to populate custom field? | Community
Skip to main content
Alexander_Lamb1
Level 2
June 19, 2018
Question

Original Referrer field used to populate custom field?

  • June 19, 2018
  • 1 reply
  • 4277 views

Hi Marketo Nation?

I wanted to know if it was possible to take the field Original Referrer and populate or update a custom field with its data?

Example:

example.com/eat-a-richard/classic-richard-cheese?campaign=001&keyword=0001

Where I want to populate a field with the keyword: 0001

Thank you.

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

1 reply

Grégoire_Miche2
Level 10
June 19, 2018

Hi Alexander,

You can do this on form submit, using a hidden field in Marketo form to capture the URM parameter named "keyword".

But otherwise, if you want to capture that information on a web page visit that does not include a form or if the fom is not submitted, you will need some javascript to capture the data in a cookie and retrieve the cookie value in a form hidden field on the first form submit.

The last possibility would be to use a webhook, pass the the original referrer value to the webhook and have the webhook update your custom field.

-Greg

Alexander_Lamb1
Level 2
June 19, 2018

I want to do this from Marketo database. Not from on-page elements. The Original Referrer captured the UTM parameters correctly and sits in Marketo.

I cannot create a custom field in Marketo with data from the string of Orginal Referrer?

SanfordWhiteman
Level 10
June 19, 2018

I cannot create a custom field in Marketo with data from the string of Orginal Referrer?

Only by passing the field to a webhook that does the parsing (the last option Greg mentioned).