Tracking script querystring vars

Your software
My Mautic version is: 4.0.2
My PHP version is: 7.4

Do the standard tracking scripts grab all querystring vars from the URL and expose them for use in custom event tracking?

While I see UTM codes are grabbed and can be used, I am looking to grab the ‘gclid’ VAR from the URL as Google ADs assigns this to clicks to landing pages.