SOLVED

Referrer Parameter

Go to solution
Adam_Vavrek1
Level 9 - Champion Alumni

Referrer Parameter

I have included a hidden field for Referrer Parameter on a form but it's not capturing any data. There's nothing to add in the URL Builder (like there would be if I had selected URL Parameter) so I don't know where to go from here. What steps (if any) am I missing to capture this data?
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Valerie_Armstro
Level 10 - Champion Alumni

Re: Referrer Parameter

Hi Adam,

The Referrer Parameter captures data from the previous page the lead visits before filling out the form.  

As to how to set this up, I would explain it this way
  • Create a form with a hidden referrer parameter field (i.e. source) 
  • Add the form to the page www.example.com/download-page.html
​Now, for any traffic that converts on that download page, you will capture the source parameter of the lead's previous web page visit.   So for instance, if the lead visited  www.example.com/test-page.html?source=adwords before visiting and converting on the download page, the source would be attributed to adwords.   

This can be a bit confusing to explain and understand, so I highly suggest building this out as a test and seeing it for yourself. Hope this helps!

View solution in original post

22 REPLIES 22
Valerie_Armstro
Level 10 - Champion Alumni

Re: Referrer Parameter

Hi Adam,

The Referrer Parameter captures data from the previous page the lead visits before filling out the form.  

As to how to set this up, I would explain it this way
  • Create a form with a hidden referrer parameter field (i.e. source) 
  • Add the form to the page www.example.com/download-page.html
​Now, for any traffic that converts on that download page, you will capture the source parameter of the lead's previous web page visit.   So for instance, if the lead visited  www.example.com/test-page.html?source=adwords before visiting and converting on the download page, the source would be attributed to adwords.   

This can be a bit confusing to explain and understand, so I highly suggest building this out as a test and seeing it for yourself. Hope this helps!
JD_Nelson
Level 10 - Community Advisor

Re: Referrer Parameter

is there a way to capture the entire referring url, not just a parameter?

SanfordWhiteman
Level 10 - Community Moderator

Re: Referrer Parameter

Sure, you can write the whole document.referrer (same place Marketo gets the data) into a hidden field.

     form.addHiddenFields{ referrerURL: document.referrer }

Anonymous
Not applicable

Re: Referrer Parameter

Thanks valerie

SanfordWhiteman
Level 10 - Community Moderator

Re: Referrer Parameter

Jessica Bledsoe​ if you're searching on this topic you should also read Re: Need to Track the reference URL ?

Anonymous
Not applicable

Re: Referrer Parameter

Thanks Sanford Whiteman​!

Anonymous
Not applicable

Re: Referrer Parameter

I have a follow up question because I'm new to the URL and Referrer Parameter. I can see how to add the URL Parameter, but what value to I type in the field "Parameter Name"?

We are using a field called "Lead Source Details" and I want that to capture which page of our website the form was filled out on. I included an image of the Support Documentation example.

Thank you!

Capture.JPG

JD_Nelson
Level 10 - Community Advisor

Re: Referrer Parameter

This name must match the utm in the url.  If your url is   http://www.company.com/page1.html?product_interest=XYZ   then this example would work.

Anonymous
Not applicable

Re: Referrer Parameter

Thanks JD. Is there any where to simply pull the URL the person came from?