Skip to main content
Level 2
May 14, 2021 12:54 AM UTC
Question

Populate Referrer URL to a custom field

Hi everyone,

Is there a way to populate the Referrer URL to a custom field so we could report on that?

We are trying to figure out how people land on our forms. We have UTMs for the most part but the links could be shared without UTM populated or they could organic traffic.

 

Thanks!

 

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

1 reply

SanfordWhiteman
User Group Leader
User Group Leader
May 14, 2021 5:30 AM UTC

Sure.

MktoForms2.whenReady(function(mktoForm){ mktoForm.addHiddenFields({ "LastReferrerURL" : document.referrer }); });

Create Last Referrer URL as a Textarea.

Translate