Auto Capture URL Parameters (GCLIDS in particular)
Hello - I am looking for a way to easily capture URL based parameters (such as GCLIDS) and store them in hidden fields on my HubSpot embedded forms.
Currently our Hubspot forms are set to auto capture and store UTM parameters (campaign, source, ad, etc) in hidden fields leveraging the native hubspot functionality. I am looking to recreate this functionality with javascript embedded in GTM in the hopes of capturing additional URL params such as gCLIDs.