A Safari extension called Clean Links can automatically remove tracking parameters from URLs. Blocked trackers include UTM by Google Analytics, FBCLID by Facebook, and others. It is a random app from GitHub outside of the App Store. I uploaded it to VirusTotal and it didn’t show anything weird. But the creator also makes the source code available.
To install Clean Links you can either download the latest prebuild extension from the releases tab, or you can clone the repository and build it yourself.
I also use a shortcut that can accomplish the same thing on iOS and iPadOS.
Check It Out: This Safari Extension Can Clean Links With Trackers