How to track marketo form fills on unique websites | Community
Skip to main content
JohnnyVillarini
Level 2
Apr 10, 2021 8:28 PM UTC
Solved

How to track marketo form fills on unique websites

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.
SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 11, 2021 12:17 AM UTC

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.

6 replies

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
Apr 11, 2021 12:17 AM UTC

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.

Translate
JohnnyVillarini
Level 2
Apr 12, 2021 8:55 PM UTC

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

Translate
SanfordWhiteman
Level 10
Apr 12, 2021 9:06 PM UTC

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.

Translate