From 45644dec43d59607990511ed500f12e7ddaff045 Mon Sep 17 00:00:00 2001 From: Ariana Date: Wed, 5 Oct 2022 10:37:49 -0400 Subject: feat(plugin): add clearURLs (#47) --- src/plugins/clearURLs/defaultRules.ts | 134 ++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 src/plugins/clearURLs/defaultRules.ts (limited to 'src/plugins/clearURLs/defaultRules.ts') diff --git a/src/plugins/clearURLs/defaultRules.ts b/src/plugins/clearURLs/defaultRules.ts new file mode 100644 index 0000000..d878f6f --- /dev/null +++ b/src/plugins/clearURLs/defaultRules.ts @@ -0,0 +1,134 @@ +/* + * Global Parameter + * `utm_source` + * + * Parameter restricted to domain + * `feature@youtube.com` + * + * Domains wildcards + * `tag@amazon.*` + * + * Parameter wildcards + * `utm_*`> + * + */ + +export const defaultRules = [ + "action_object_map", + "action_type_map", + "action_ref_map", + "spm@*.aliexpress.com", + "scm@*.aliexpress.com", + "aff_platform", + "aff_trace_key", + "algo_expid@*.aliexpress.*", + "algo_pvid@*.aliexpress.*", + "btsid", + "ws_ab_test", + "pd_rd_*@amazon.*", + "_encoding@amazon.*", + "psc@amazon.*", + "tag@amazon.*", + "ref_@amazon.*", + "pf_rd_*@amazon.*", + "pf@amazon.*", + "crid@amazon.*", + "keywords@amazon.*", + "sprefix@amazon.*", + "sr@amazon.*", + "ie@amazon.*", + "node@amazon.*", + "qid@amazon.*", + "callback@bilibili.com", + "cvid@bing.com", + "form@bing.com", + "sk@bing.com", + "sp@bing.com", + "sc@bing.com", + "qs@bing.com", + "pq@bing.com", + "sc_cid", + "mkt_tok", + "trk", + "trkCampaign", + "ga_*", + "gclid", + "gclsrc", + "hmb_campaign", + "hmb_medium", + "hmb_source", + "spReportId", + "spJobID", + "spUserID", + "spMailingID", + "itm_*", + "s_cid", + "elqTrackId", + "elqTrack", + "assetType", + "assetId", + "recipientId", + "campaignId", + "siteId", + "mc_cid", + "mc_eid", + "pk_*", + "sc_campaign", + "sc_channel", + "sc_content", + "sc_medium", + "sc_outcome", + "sc_geo", + "sc_country", + "nr_email_referer", + "vero_conv", + "vero_id", + "yclid", + "_openstat", + "mbid", + "cmpid", + "cid", + "c_id", + "campaign_id", + "Campaign", + "hash@ebay.*", + "fb_action_ids", + "fb_action_types", + "fb_ref", + "fb_source", + "fbclid", + "refsrc@facebook.com", + "hrc@facebook.com", + "gs_l", + "gs_lcp@google.*", + "ved@google.*", + "ei@google.*", + "sei@google.*", + "gws_rd@google.*", + "gs_gbg@google.*", + "gs_mss@google.*", + "gs_rn@google.*", + "_hsenc", + "_hsmi", + "__hssc", + "__hstc", + "hsCtaTracking", + "source@sourceforge.net", + "position@sourceforge.net", + "t@*.twitter.com", + "s@*.twitter.com", + "ref_*@*.twitter.com", + "tt_medium", + "tt_content", + "lr@yandex.*", + "redircnt@yandex.*", + "feature@youtube.com", + "kw@youtube.com", + "wt_zmc", + "utm_source", + "utm_content", + "utm_medium", + "utm_campaign", + "utm_term", + "si@open.spotify.com", +]; -- cgit