When tracking referrers, it's common to use UTM parameters or a referrer code in the querystring, so that you can identify the origin of the click.
But what happens when you want to allow the user to navigate the site, and then capture that information later when they submit a form?
One approach here is known as query param passthrough, where you take the query parameters from the landing page, and carry them through to every other page on your site.
Here's a very simple version of this approach, which you'd place in your site-wide before-body custom code area.
This approach takes the current page querystring and appends it to any local links in your page- so that when you click them those parameters are preserved.
This works because Webflow generally doesn't use querystring parameters, and because most browsers are pretty forgiving about an invalid querystring with multiple ?'s.
However there are a few places this is likely to create confusion;
A more elegant approach is to;
That’s somewhat more complex to build, and you have to carefully check any cookie-consent setups, but it’s much prettier.
https://discourse.webflow.com/t/utm-parameters-are-not-passed-for-blog-articles-links/269517