Pass query param to every page

How can I pass a query param from one page to another. I have tried inserting the following code into the header in a script tag but it doesn’t seem to do anything.

This should work also, but the tag isn’t executing and I have no idea why

<!-- URL Param pass -->
        .forEach(el => el.attributes.href.value +=;
<!-- End URL Param pass --!>

Did you find an answer? I’m trying to figure this out myself as well.

Hey sorry, just saw your response. No I was never able to figure it out and received no support from webflow. Seems like they don’t answer any questions