SOLVED

Capturing URL Parameters from previous pages on forms

Go to solution
Matthew_Firetto
Level 1

Capturing URL Parameters from previous pages on forms

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Capturing URL Parameters from previous pages on forms

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.

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Capturing URL Parameters from previous pages on forms

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.

View solution in original post

Matthew_Firetto
Level 1

Re: Capturing URL Parameters from previous pages on forms

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.