Re: Original Referrer is Blank

Anonymous
Not applicable

Original Referrer is Blank

Hi,

We have several non-Marketo contact forms on our website that our web developer has recently tied to our Marketo lead database. When a lead fills out a form, the form data is captured and fed into Marketo. I see that the Original Source Info and Original Source Type fields show "Web Service API," but the Original Referrer field for the leads is blank. I'd like to see the URL of the page on our site where they filled out the form in the Original Referrer field. What do we need to do to make this happen?

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: Original Referrer is Blank

You should be running Munchkin and using the Forms API (not the REST API) to submit these custom forms to Marketo. Anything else is creating both an attribution encumbrance and a DoS attack vulnerability.

Harvinder_Singh
Level 1

Re: Original Referrer is Blank

Hi,

I'm also facing a similar issue.

Here are steps to reproduce this issue.

  1. From external (usual advertisement ) site, click an advertisement link
  2. my website's form page loads Munchkin, user submit a form from this page, that submits to my websites backend
  3. from the backend, I'm sending a POST request to Marketo

I can see my website's form page in Original Referrer, but I wan to see external (origin) site.

Any help on this issue will be highly appreciated.

SanfordWhiteman
Level 10 - Community Moderator

Re: Original Referrer is Blank

The referrer is not always present for reading, particularly if your page is running over http:// but the referring page was running over https:// (this is a longstanding browser security rule that must be deliberately overridden by the referrer).

I strongly recommend you use the typical Marketo form flow, not something hacked-together on your back end.

Harvinder_Singh
Level 1

Re: Original Referrer is Blank

Thanks for quick reply, Sanford,

I had to route all form submissions via a customized backend to sanitize submitted data, because marketo is vulnerable to XSS.

Marketo was accpeting scripts such as: <script>alter('marketo is vulnerable to XSS')</script>

I'm not sure if Marketo has resolved this vulnerability at their end. Any one from Marketo team can you please confirm if this XSS issue is resolved?

SanfordWhiteman
Level 10 - Community Moderator

Re: Original Referrer is Blank

Sanitize your output. There's no XSS unless you echo that value in an executable context.