Hi.
I am trying to track the next action from an entry page with a query string.
Scenario: prospect visits page with a query string and value ?utm_campaign=sample. If they click from here to a next page and fills out a form, I am trying to capture that they came from that previous page.
I set up a Fills out Form trigger, form name is any, referrer contains "sample". But it is not working.
My guess is that Referrer does not consider query string text. Is there a way around this without writing code into the cookie?
There are some threads on the javascript you would need to pass the data to the form later on in their visit.
My guess is that Referrer does not consider query string text. Is there a way around this without writing code into the cookie?
The Referrer you're looking at in a flow does include the full URL. But you're confusing the proprietary concept of the "Referrer" of the embedded form -- that is, the page hosting the form -- with the true Referrer of the main document (i.e. the previous full pageview).
Add a hidden field to your form that AutoFills from a "Referrer Parameter" and it will be grabbing from the main document's true Referrer.
And yes, this is confusing.
Hi Sanford,
Can you provide a little more guidance on how to do this?
When you add a field of type Hidden, there's always an Autofill link on the right-hand side in Form Editor. That's where you choose the source of the value.