! Homepage: https://github.com/AdguardTeam/AdGuardFilters
! License: https://github.com/AdguardTeam/AdguardFilters/blob/master/LICENSE
!
!---------------------------------------------------------------------------!
!-------------- General tracking parameters list  ----------------------------------!
!---------------------------------------------------------------------------!
!
! General rules
!
$removeparam=cmpid
$removeparam=asgtbndr
$removeparam=guccounter
$removeparam=guce_referrer
$removeparam=guce_referrer_sig
$removeparam=_openstat
$removeparam=action_object_map
$removeparam=action_ref_map
$removeparam=action_type_map
$removeparam=fb_action_ids
$removeparam=fb_action_types
$removeparam=fb_comment_id
$removeparam=fb_ref
$removeparam=fb_source
$removeparam=fbclid
$removeparam=gclid
$removeparam=utm_campaign
$removeparam=utm_channel
$removeparam=utm_cid
$removeparam=utm_content
$removeparam=utm_id
$removeparam=utm_medium
$removeparam=utm_name
$removeparam=utm_place
$removeparam=utm_pubreferrer
$removeparam=utm_reader
$removeparam=utm_referrer
$removeparam=utm_serial
$removeparam=utm_social
$removeparam=utm_social-type
$removeparam=utm_source
$removeparam=utm_swu
$removeparam=utm_term
$removeparam=utm_userid
$removeparam=utm_viz_id
$removeparam=yclid
!
! DPG Media analytics
! Used on Dutch sites
$removeparam=dpg_source
$removeparam=dpg_campaign
$removeparam=dpg_medium
$removeparam=dpg_content
!
! AdmitAd tracking
$removeparam=admitad_uid
!
! adjust.com tracking
$removeparam=adjust_tracker
$removeparam=adjust_adgroup
$removeparam=adjust_campaign
!
! https://github.com/AdguardTeam/AdguardFilters/issues/89869
! email subscriptions tracking
$removeparam=utm_ad
$removeparam=bsft_clkid
$removeparam=bsft_eid
$removeparam=bsft_mid
$removeparam=bsft_uid
$removeparam=bsft_aaid
$removeparam=bsft_ek
!
! Matomo/Piwik
$removeparam=mtm_campaign
$removeparam=mtm_cid
$removeparam=mtm_content
$removeparam=mtm_group
$removeparam=mtm_keyword
$removeparam=mtm_medium
$removeparam=mtm_placement
$removeparam=mtm_source
$removeparam=pk_campaign
$removeparam=pk_medium
$removeparam=pk_source
!
! https://github.com/AdguardTeam/AdguardFilters/pull/91540
$removeparam=mbid
$removeparam=utm_brand

!---------------------------------------------------------------------------!
!-------------- Specific web sites ---------------------------------------------!
!---------------------------------------------------------------------------!
!
! The rules for specific sites
!
!
! euronews.com - email subscription tracking
||euronews.com^$removeparam=_ope
! https://github.com/AdguardTeam/AdguardFilters/issues/90028
$removeparam=/^curator_clanid/,domain=steampowered.com|steamcommunity.com
! https://github.com/AdguardTeam/AdguardFilters/issues/89768
||mediamarkt.com.tr^$removeparam=rbtc
! https://github.com/AdguardTeam/AdguardFilters/issues/90055
||t.myvisualiq.net^$removeparam=~red
! https://github.com/AdguardTeam/AdguardFilters/issues/89556
||uspoloassn.com^$removeparam=ref
||arcelik.com.tr^$removeparam=ref
! https://github.com/AdguardTeam/AdguardFilters/issues/88784
||express.de^$removeparam=cb
||ksta.de^$removeparam=cb
! https://github.com/AdguardTeam/AdguardFilters/issues/88502
||linkedin.com/authwall?$removeparam=trkInfo
||linkedin.com/authwall?$removeparam=originalReferer
! https://github.com/AdguardTeam/AdguardFilters/issues/69722
||digikey.com^$removeparam=/^mkt_tok/
||digikey.com^$removeparam=/^utm_cid/
!
! NicoNico (nicovideo.jp)
||nicovideo.jp^$removeparam=cmnhd_ref
||nicovideo.jp^$removeparam=ref
! Naver (naver.com) - tracking parameter
||search.naver.com/search.naver$removeparam=tqi
! Yandex
! may be merged in regex rule over time
||yandex.*/news/$removeparam=from
||yandex.*/news/$removeparam=persistent_id
||yandex.*/sport/$removeparam=persistent_id
||yandex.*/news/$removeparam=msid
||yandex.*/sport/$removeparam=msid
||yandex.*/news/$removeparam=mlid
||yandex.*/sport/$removeparam=mlid
||yandex.*/news/$removeparam=stid
||yandex.*/sport/$removeparam=stid
||yandex.*/images/$removeparam=source-serpid
! Baidu search - statictics
||www.baidu.com^$removeparam=rsv_pq
||www.baidu.com^$removeparam=rsv_t
! https://github.com/AdguardTeam/CoreLibs/issues/1464
! Probably a bug
!#if (!adguard_app_windows && !adguard_app_mac && !adguard_app_android)
||www.baidu.com/link?url=$removeparam=eqid
!#endif
! bitrec.com recommendations widget
||cod.bitrec.com/topocentras-services/js/recs?$removeparam=visitorId
||cod.bitrec.com/topocentras-services/js/recs?$removeparam=externalVisitorId
||cod.bitrec.com/topocentras-services/js/recs?$removeparam=r
! https://github.com/AdguardTeam/AdguardFilters/issues/89345
||play.google.*^$removeparam=referrer
! Google Search
! https://github.com/AdguardTeam/CoreLibs/issues/1464
! Probably a bug
!#if (!adguard_app_windows && !adguard_app_mac && !adguard_app_android)
! ||www.google.com/url?$removeparam=ved
! ||google.*/search$removeparam=ved
||google.*/search$removeparam=biw
||google.*/search$removeparam=bih
||google.*/search$removeparam=dpr
||google.*/search$removeparam=sa
||google.*/search$removeparam=source
||google.*/search$removeparam=aqs
||google.*/search$removeparam=sourceid
||google.*/search$removeparam=ei
||google.*/search$removeparam=gs_lcp
!#endif
!
! eBay tracking parameters
||www.ebay.$removeparam=_trkparms
||www.ebay.$removeparam=_trksid
||www.ebay.$removeparam=amdata
||www.ebay.$removeparam=mkrid
||www.ebay.$removeparam=campid
! Amazon tracking IDs found on several subpages
! Disabled rules:
! https://github.com/AdguardTeam/AdguardFilters/issues/88627
! ||www.amazon.*$removeparam=ref_
! ||www.amazon.*$removeparam=ie
!
! ||www.amazon.*$removeparam=sr - breaks automatic jump to review details
! ||www.amazon.*$removeparam=s - breaks URLs which include them to sort
! https://github.com/AdguardTeam/AdguardFilters/issues/89163
! ||www.amazon.*/message-us$removeparam=origRef
||www.amazon.*$removeparam=tag
||www.amazon.*$removeparam=creative
||www.amazon.*$removeparam=creativeASIN
||www.amazon.*$removeparam=camp
||www.amazon.*$removeparam=ascsubtag
||www.amazon.*$removeparam=ref
||www.amazon.*$removeparam=vt
||www.amazon.*$removeparam=refRID
||www.amazon.*$removeparam=pd_rd_i
||www.amazon.*$removeparam=pd_rd_r
||www.amazon.*$removeparam=pd_rd_wg
||www.amazon.*$removeparam=pd_rd_w
||www.amazon.*$removeparam=pf_rd_i
||www.amazon.*$removeparam=pf_rd_m
||www.amazon.*$removeparam=pf_rd_p
||www.amazon.*$removeparam=pf_rd_r
||www.amazon.*$removeparam=pf_rd_s
||www.amazon.*$removeparam=pf_rd_t
||www.amazon.*$removeparam=pf_rd_w
||www.amazon.*$removeparam=initialIssue
||www.amazon.*$removeparam=smid
||www.amazon.*$removeparam=plattr
||www.amazon.*$removeparam=field-lbr_brands_browse-bin
||www.amazon.*$removeparam=ingress
||www.amazon.*$removeparam=visitId
||www.amazon.*$removeparam=rdc
||www.amazon.*$removeparam=qid
||www.amazon.*$removeparam=dchild
||www.amazon.*$removeparam=c
||www.amazon.*$removeparam=ts_id
||www.amazon.*/dp/$removeparam=tag
||www.amazon.*/aa$removeparam=bitCampaignCode
||www.amazon.*/hz/contact-us/csp$removeparam=/entries/
||www.amazon.*/hz/contact-us/csp$removeparam=/Version/
||www.amazon.*/hz/contact-us/csp$removeparam=source
||www.amazon.*/hz/contact-us/csp$removeparam=from
||www.amazon.*/message-us$removeparam=muClientName
! https://github.com/AdguardTeam/AdguardFilters/issues/83138
||app.mi.com/download/*?id=$removeparam=ref
||app.mi.com/download/*?id=$removeparam=nonce
||app.mi.com/download/*?id=$removeparam=appClientId
||app.mi.com/download/*?id=$removeparam=appSignature
! https://github.com/AdguardTeam/AdguardFilters/issues/83136
||mp.weixin.qq.com^$removeparam=chksm
||mp.weixin.qq.com^$removeparam=key
||mp.weixin.qq.com^$removeparam=uin
||mp.weixin.qq.com^$removeparam=devicetype
||mp.weixin.qq.com^$removeparam=exportkey
! Prevent tracking when request is unblocked
||pixel.adsafeprotected.com/services/pub?$removeparam=slot
||pixel.adsafeprotected.com/services/pub?$removeparam=sessionId
||pixel.adsafeprotected.com/services/pub?$removeparam=anId
||pixel.adsafeprotected.com/services/pub?$removeparam=wr
||pixel.adsafeprotected.com/services/pub?$removeparam=sr
||pixel.adsafeprotected.com/services/pub?$removeparam=url
! Ads tracking
||cam4.com^$removeparam=act
||cam4.com^$removeparam=suid
||cam4.com^$removeparam=showSignupPopup
! Tracks source site
||office.com^$removeparam=ocid
! Embedded tweets
||twitter.com^$removeparam=ref_src
||twitter.com^$removeparam=ref_url
!
||zerkalo.io^$removeparam=tg
||zerkalo.io^$removeparam=vk
!
! https://github.com/AdguardTeam/AdguardFilters/issues/88163
||nbcume.sc.omtrdc.net/id?d_visid_ver=$removeparam=/mcorgid|mid|ts/,domain=nbcdfw.com
!
||trendyol.com^$removeparam=_ga
||trendyol.com^$removeparam=utm_subaff
!
||dailymail.co.uk^$removeparam=ito
||adguard.com^$removeparam=aid
||hepsiburada.com^$removeparam=wt_af
||mioga.de^$removeparam=pl
||mioga.de^$removeparam=idealoid
||ejoker.de^$removeparam=sPartner
||ejoker.de^$removeparam=idealoid
||gmx.*/logoutlounge$removeparam=p
||web.de/logoutlounge$removeparam=p
||gmx.*^$removeparam=mc
||web.de^$removeparam=mc
||lotto.gmx.*^$removeparam=partnerId
||lotto.gmx.*^$removeparam=advertisementId
||lotto.web.de^$removeparam=partnerId
||lotto.web.de^$removeparam=advertisementId
||shopping.gmx.*^$removeparam=origin
||shopping.web.de^$removeparam=origin
||ad.doubleclick.net/ddm/trackclk/$removeparam=/^dc_trk_/
||alza.de/*.htm$removeparam=kampan
||cosse.de^$removeparam=referer
||idealo.de/*.html$removeparam=offerKey
||idealo.de/*.html$removeparam=offerListId
||marketing.net.idealo-partner.com^$removeparam=smc2
||marketing.net.idealo-partner.com^$removeparam=smc5
||media01.eu/set.aspx$removeparam=trackid
||netgames.de^$removeparam=refID
||www.alternate.de^$removeparam=partner
||www.galaxus.de^$removeparam=pcscpId
||marketing.net.idealo-partner.com^$removeparam=amc
||www.lidl.de^$removeparam=msktc
||www.otto.de^$removeparam=ActionID
||www.otto.de^$removeparam=AffiliateID
||www.otto.de^$removeparam=campid
||www.pricezilla.de^$removeparam=bid
!
||mediamarkt.de/*.html$removeparam=dclid
||saturn.de/*.html$removeparam=dclid
!
||boomstore.de*.html$removeparam=campaign
||www.alternate.de^$removeparam=campaign
||www.alternate.de^$removeparam=campaign
!
||cosse.de^$removeparam=sPartner
||www.technikdirekt.de^$removeparam=sPartner
||www.hitseller.de^$removeparam=sPartner
!
||galaxus.de^$removeparam=idealoid
||www.technikdirekt.de^$removeparam=idealoid
||netgames.de^$removeparam=idealoid
||www.alternate.de^$removeparam=idealoid
||www.electronic4you.de^$removeparam=idealoid
||www.hitseller.de^$removeparam=idealoid
!
||www.hitseller.de^$removeparam=etcc_cmp
||marketing.net.idealo-partner.com^$removeparam=etcc_cmp
!
||www.hitseller.de^$removeparam=etcc_med
||marketing.net.idealo-partner.com^$removeparam=etcc_med
!
||www.hitseller.de^$removeparam=etcc_produkt
||marketing.net.idealo-partner.com^$removeparam=etcc_produkt
!
||visit.digidip.net^$removeparam=/^(ppref|ref|pid)=/
||ad.admitad.com^$removeparam=/^subid/
||mvideo.ru^$removeparam=/^(_requestid|reff)=/
||nytimes.com^$removeparam=impression_id
!
||websearch.rakuten.co.jp/Web?$removeparam=ref
||rakuten.co.jp^*&trflg=$removeparam=trflg
||search.yahoo.co.jp^$removeparam=fr
! Daraz & Shop (Samesite)
||daraz.*$removeparam=/spm=|scm=|from=|keyori=|sugg=|search=|mp=|c=|^abtest|^abbucket|pos=|themeID=|algArgs=|clickTrackInfo=|acm=|item_id=|version=|up_id=|pvid=/
!

!---------------------------------------------------------------------------!
!-------------- Whitelist ------------------------------------------------------!
!---------------------------------------------------------------------------!
!
! Fixing filtering errors
!
! TEMPORARY
! https://github.com/AdguardTeam/tsurlfilter/issues/24
!+ PLATFORM(ext_chromium, ext_ff, ext_opera)
@@||userscript.zone^$removeparam=utm_campaign
!
! https://github.com/AdguardTeam/AdguardFilters/issues/89618#issuecomment-897100189
@@||urldefense.com^$removeparam=utm_id
@@||urldefense.com^$removeparam=utm_medium
@@||urldefense.com^$removeparam=utm_source
! https://github.com/AdguardTeam/AdguardFilters/issues/86251
@@||cdn.privatehost.com/videos*/$removeparam
! https://github.com/AdguardTeam/AdguardFilters/issues/85797
@@||rightnowtech.com/engagement/api/consumer/nvidia/*/requestEngagement?pool=$removeparam
! https://github.com/AdguardTeam/AdguardFilters/issues/85388
@@||insurancexblog.blogspot.com/?utm_source=$removeparam=utm_source
! https://github.com/AdguardTeam/AdguardFilters/issues/85160
@@||gizmodo.com/embed/comments/$removeparam
! fix redirect: http://turkdebrid.site/api1/?page=create&ads=zshort.io
@@||toptechtalk.xyz/?utm_source=$removeparam=utm_source
! kotaku.com - "See all replies" button broken
@@||kotaku.com/embed/comments$removeparam
! https://github.com/AdguardTeam/AdguardFilters/issues/78392
@@||lanacion.com.ar/*module$removeparam=utm_source
! https://github.com/AdguardTeam/AdguardFilters/issues/69031 [Stealth Mode - Strip URLs from tracking parameters]
@@||t.send.vt.edu/r/?id=$removeparam=utm_source
@@||t.send.vt.edu/r/?id=$removeparam=utm_medium
@@||t.send.vt.edu/r/?id=$removeparam=utm_campaign
! https://github.com/AdguardTeam/AdguardFilters/issues/52925
@@||fakt.pl/*&srcc=ucs$removeparam
@@||przegladsportowy.pl/*&srcc=ucs$removeparam
@@||auto-swiat.pl/*&srcc=ucs$removeparam
@@||komputerswiat.pl/*&srcc=ucs$removeparam
@@||noizz.pl/*&srcc=ucs$removeparam
@@||plejada.pl/*&srcc=ucs$removeparam
@@||medonet.pl/*&srcc=ucs$removeparam
@@||businessinsider.com.pl/*&srcc=ucs$removeparam
! https://github.com/AdguardTeam/AdguardFilters/issues/63522
@@||onet.pl/?utm_source=$removeparam
