Streaming live at 10am (PST)

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 -->
<script>
document.querySelectorAll('a')
        .forEach(el => el.attributes.href.value += window.location.search);
</script>
<!-- End URL Param pass --!>