Skip to content


Repository files navigation

Neat URL

Neat URL is a browser extension that cleans URLs, removing parameters such as Google Analytics' utm parameters. Use with Firefox and Chrome.


Firefox Addon
Chrome Addon

Default blocked parameters

    "categories": [
        { "name": "Action Map", "params": ["action_object_map", "action_ref_map", "action_type_map"]},
        { "name": "", "params": ["aff_platform", "aff_trace_key", "algo_expid@*.aliexpress.*", "algo_pvid@*", "btsid@*", "expid@*", "initiative_id@*", "scm_id@*", "spm@*", "ws_ab_test*"]},
        { "name": "Amazon", "params": ["_encoding@amazon.*", "ascsubtag@amazon.*", "pd_rd_*@amazon.*", "pf@amazon.*", "pf_rd_*@amazon.*", "psc@amazon.*", "ref_@amazon.*", "tag@amazon.*"]},
        { "name": "", "params": [""]},
        { "name": "Bing", "params": ["", "", "", "", "", "", ""]},
        { "name": "Campaign tracking (Adobe Analytics)", "params": ["sc_cid"]},
        { "name": "Campaign tracking (Adobe Marketo)", "params": ["mkt_tok"]},
        { "name": "Campaign tracking (Amazon Kendra)", "params": ["trk", "trkCampaign"]},
        { "name": "Campaign tracking (at)", "params": ["at_campaign", "at_custom*", "at_medium"]},
        { "name": "Campaign tracking (", "params": ["", "", "", "", ""]},
        { "name": "Campaign tracking (DPG Media)", "params": ["dpg_*"]},
        { "name": "Campaign tracking (Google Analytics, ga)", "params": ["ga_*", "gclid", "gclsrc"]},
        { "name": "Campaign tracking (Humble Bundle)", "params": ["hmb_campaign", "hmb_medium", "hmb_source"]},
        { "name": "Campaign tracking (IBM Acoustic Campaign)", "params": ["spJobID", "spMailingID", "spReportId", "spUserID"]},
        { "name": "Campaign tracking (itm)", "params": ["itm_*"], "docs": ""},
        { "name": "Campaign tracking (Omniture)", "params": ["s_cid"], "docs": ""},
        { "name": "Campaign tracking (Oracle Eloqua)", "params": ["assetId", "assetType", "campaignId", "elqTrack", "elqTrackId", "recipientId", "siteId"]},
        { "name": "Campaign tracking (MailChimp)", "params": ["mc_cid", "mc_eid"], "docs": ""},
        { "name": "Campaign tracking (Matomo/Piwik)", "params": ["mtm_*", "pk_*"]},
        { "name": "Campaign tracking (ns)", "params": ["ns_*"]},
        { "name": "Campaign tracking (sc)", "params": ["sc_campaign", "sc_channel", "sc_content", "sc_country", "sc_geo", "sc_medium", "sc_outcome"]},
        { "name": "Campaign tracking (stm)", "params": ["stm_*"]},
        { "name": "Campaign tracking (utm)", "params": ["nr_email_referer", "utm_*"]},
        { "name": "Campaign tracking (Vero)", "params": ["vero_conv", "vero_id"], "docs": ""},
        { "name": "Campaign tracking (Yandex)", "params": ["_openstat", "yclid"], "docs": ""},
        { "name": "Campaign tracking (others)", "params": ["c_id", "campaign_id", "Campaign", "cmpid", "mbid", "ncid"], "docs": ""},
        { "name": "", "params": ["", ""]},
        { "name": "Ebay", "params": ["hash@ebay.*", "_trkparms@ebay.*", "_trksid@ebay.*", "amdata@ebay.*", "epid@ebay.*", "hash@ebay.*", "var@ebay.*"]},
        { "name": "Etsy", "params": ["", "", "", ""]},
        { "name": "Facebook", "params": ["fb_action_ids", "fb_action_types", "fb_ref", "fb_source", "fbclid", "", ""]},
        { "name": "Google", "params": ["ei@google.*", "gs_gbg@google.*", "gs_l", "gs_lcp@google.*", "gs_mss@google.*", "gs_rn@google.*", "gws_rd@google.*", "sei@google.*", "ved@google.*"]},
        { "name": "Hubspot", "params": ["_hsenc", "_hsmi", "__hssc", "__hstc", "hsCtaTracking"]},
        { "name": "IMDb", "params": ["pf_rd_*", ""]},
        { "name": "LinkedIn", "params": ["", "", "", "", "", "", "", "", "", "", ""]},
        { "name": "Medium", "params": ["", ""]},
        { "name": "", "params": ["", ""]},
        { "name": "Spotify", "params": ["", ""]},
        { "name": "TikTok", "params": ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]},
        { "name": "", "params": ["tt_content", "tt_medium"]},
        { "name": "Twitter", "params": ["cxt@*", "ref_*@*", "s@*", "t@*", "twclid"]},
        { "name": "Yahoo", "params": ["guccounter@*", "soc_src", "soc_trk"]},
        { "name": "Yandex", "params": ["lr@yandex.*", "redircnt@yandex.*"]},
        { "name": "", "params": ["", ""]},
        { "name": "", "params": ["wt_mc", "wt_zmc"]}




Why should I use this?

Are you tired of handing over data to Google or other companies?

Do you want to see neater URLs?

Neat URL is just what you're looking for!

Parameter rules

A parameter is something that starts with ?. You can add your own parameter in the options of Neat URL. The ? is ommitted in the options, so a ?ved parameter becomes "ved". There are a few exceptions to this rule (see below)

Parameters can be global (for every domain):


Parameters can contain @ signs (domain-specific):

Parameters can contain @ signs with a wildcard so every subdomain will match too (root wildcard domain):


Parameters can contain @ signs with a wildcard at the end of a domain name (matches every domain name which begins with "google" and ends in an unknown suffix, called suffix wildcard domain):


Mixing a root wild card domain with a suffix wildcard domain in the same parameter is also possible:

param@*.google.* (too many wildcards)

Parameters can contain a wildcard at the end or before the domain sign:


Parameters can also apply globally (first rule), except for a (wildcard) domain (second rule):


The excluded domain always takes precedence. Should you include "ref" and "!ref", "!ref" will apply.

Other valid parameters - ending parameters (exceptions to the ? rule):

$/ref@amazon.* (remove everything after /ref on Amazon domains - this will only apply when there are no query parameters left after removing the filtered query parameters. Exception: Amazon product pages parameters are cleaned like they contain two dollar signs)
$$/ref@amazon.* (remove everything after /ref on Amazon domains - this will always apply, even when there are other query parameters after removing the filtered query parameters - this option is available because the user should be in control but beware that double dollar signs are dangerous, it might break the URL)

Other valid parameters - hash parameters (exceptions to the ? rule):

#xtor=RSS-8 (remove this parameter - be sure to include its value as well when you are using anchor tags) for example this URL
#?pk_campaign (normal parameters that come after a hash sign, for example this URL gets changed to
#? (same as above, but domain-matched instead of global)

Invalid parameters:

|ved (this is some random string - not supported, it will not work)
/ref@amazon.*$ (dollar sign should be at the beginning)
ref@* (domain cannot be a wildcard, use ref instead to apply globally)

Recommended parameters

Parameters meant for the general public are included as default blocked parameters. You can add your own parameters for specific websites that are not (yet) supported by default. Parameters with only one or two letters will never be included in Neat URL by default, unless they can be given a domain.


For #?, #?

Google Analytics - tracking

tid, aip, ds, qt, uid, uip, ua, geoid, dr, cn, cs, cm, ck, cc, ci, gclid, dclid, linkid cid (campaign id, but used for other purposes by other websites - not included by default anymore)

Google (possibly tracking)

Google (tracking status unknown)

Google (non tracking)



(only works when extensions.webextensions.restrictedDomains is edited in about:config) (test URL

Other parameters you can consider (website unknown)

  • iid
  • ijn
  • nid
  • ref_

Help, it does not work!

  • Have you checked that the syntax you are using is valid?
  • WebExtensions (like Neat URL) aren't allow to work on several Mozilla domains. This is a security feature. To allow all WebExtensions to work on these websites, you need to edit extensions.webextensions.restrictedDomains in about:config.


Neat URL is based on Lean URL.

Neat URL contains a few improvements:

  • set your own URL parameters on the options page (to reach feature parity with Pure URL)
  • fixed for recent Firefox versions and compatible with Chrome
  • a nice animation and counter in the toolbar (can be changed or disabled)
  • domain-specific blocked parameters (to reach feature parity with Pure URL)
  • wildcard domain-specific blocked parameters
  • wildcard at the end of blocked parameters (general or domain-specific)
  • absolute wildcard parameter (domain-specific))
  • expanded default blocked parameter offering


Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.







No releases published


No packages published