URL parse
url_parseParse a URL into its components and query parameters, flag tracking parameters, and optionally return a cleaned URL with tracking removed.
Instructions
Split a URL into protocol, user, host, port, path, query, fragment and origin (with decoded forms), list its query parameters in order (duplicates and bare flags kept, + as space) and flag tracking parameters (utm_*, fbclid, gclid, msclkid, mc_cid, _ga, _hsenc…). Optionally returns the URL with tracking removed. A missing scheme means https://. Passwords are never echoed. Web version: https://s3eidat.github.io/url-toolkit/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to parse. | |
| stripTracking | No | Also return "cleanUrl" with tracking parameters removed. |