Method and definitions
Parse an HTTP(S) URL and set utm_source, utm_medium and utm_campaign; add optional utm_term and utm_content. Existing UTM values are replaced, non-UTM query parameters and fragment are preserved.
Use consistent case and naming. Do not put personal data into tracking tags. Tagging alone does not configure analytics or prove attribution. This builder never loads your destination URL.
Reference: Google Analytics campaign URL guidance.