Capturing URL Parameters from previous pages on forms | Community
Skip to main content
Matthew_Firetto
Level 1
May 12, 2017
Solved

Capturing URL Parameters from previous pages on forms

  • May 12, 2017
  • 1 reply
  • 2738 views

I'm trying to capture tracking code data from URLs on forms that are on standalone pages. We are running campaigns with tracked links to a landing page, but when visitors leave the landing page to go to a form, we lose the url paramater data. Is there a way to retain these paramaters for the leads that fill out the forms on other pages?

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

Sure, a typical way is to use a cookie-based touch persistence library like Conversion Path.

Note if the form is literally on the *next* page view, you can Autofill hidden fields from Referrer Params (= query params on the Referrer URL). No need for cookies in that case.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
May 12, 2017

Sure, a typical way is to use a cookie-based touch persistence library like Conversion Path.

Note if the form is literally on the *next* page view, you can Autofill hidden fields from Referrer Params (= query params on the Referrer URL). No need for cookies in that case.

Matthew_Firetto
Level 1
May 12, 2017

I figured using cookies would be the ideal way to collect this info. Thanks for the tip on the referrer param, that's a start at least to collect some data in the meantime.