How to track marketo form fills on unique websites | Community
Skip to main content
JohnnyVillarini
Level 2
April 10, 2021
Solved

How to track marketo form fills on unique websites

  • April 10, 2021
  • 1 reply
  • 4902 views

Hi All,

I was curious as to what the best practices are for tracking Marketo form fills on websites with a specific URL. My current company started tracking these form fills like this:


I am not sure if referrer is the correct section to use after doing more research and we can't use Web Page because, from my understanding, Web Pages are only created in Marketo. We would be tracking form fills from a unique URL on our website that uses a Marketo form. (These forms are used elsewhere, that is why we want to be able to track this specifically by website URLs that have our form embed on the site)

Would "Browser: contains" or "Querystring: contains" be better? Seems pretty straightforward but just wanted to double-check before updating this.

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

The Referrer constraint is indeed correct for embedded forms.

 

Note the referrer of a form isn't the same as the HTTP Referer/document.referrer of the web page.

 

The form's referrer — in fact, the referrer of all assets on a page, and the referrer of Ajax requests — is the document URL shown in the Location bar. So it's exactly what you want: the URL of the page hosting the form.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
April 11, 2021

The Referrer constraint is indeed correct for embedded forms.

 

Note the referrer of a form isn't the same as the HTTP Referer/document.referrer of the web page.

 

The form's referrer — in fact, the referrer of all assets on a page, and the referrer of Ajax requests — is the document URL shown in the Location bar. So it's exactly what you want: the URL of the page hosting the form.

JohnnyVillarini
Level 2
April 12, 2021

Ahh okay thank you, Sanford. When I was reviewing the MCE Exam Guide, it said the referrer was for showing what page redirected them to the form fill page, so I was confused on whether or not this was tracking properly. I may have just misunderstood the review or it may be different as the constraint

SanfordWhiteman
Level 10
April 12, 2021

it said the referrer was for showing what page redirected them to the form fill page

That is true for the Visit Web Page activity.

 

It is not true for the Filled Out Form activity, which is happening one level deeper inside the document.