Skip to content

Commit

Permalink
Strip utm_klaviyo_id (jparise#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
jparise authored and jazzwang committed Sep 23, 2024
1 parent 16443d2 commit f0490a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ The following query string parameters are stripped:
- `_hsmi`
- Instagram
- `igshid`
- [Klaviyo](https://www.klaviyo.com/)
- `utm_klaviyo_id`
- Mailchimp
- `mc_cid`
- `mc_eid`
Expand Down
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const searchPattern = new RegExp('utm_|stm_|clid|_hs|icid|igshid|mc_|mkt_tok|ycl
*/
const replacePattern = new RegExp(
'([?&]' +
'(icid|mkt_tok|(g|fb)clid|igshid|_hs(enc|mi)|mc_[ce]id|(utm|stm)_(id|source|medium|term|campaign|content|cid|reader|referrer|name|social|social-type)|rb_clickid|yclid|_openstat|wickedid|otc|oly_(anon|enc)_id|soc_(src|trk)|cvid|oicd|bx_heid|openExternalBrowser|cm_mmc|luid|tum_medium|_branch_match_id|_branch_referrer)' +
'(icid|mkt_tok|(g|fb)clid|igshid|_hs(enc|mi)|mc_[ce]id|(utm|stm)_(id|source|medium|term|campaign|content|cid|reader|referrer|name|social|social-type|klaviyo_id)|rb_clickid|yclid|_openstat|wickedid|otc|oly_(anon|enc)_id|soc_(src|trk)|cvid|oicd|bx_heid|openExternalBrowser|cm_mmc|luid|tum_medium|_branch_match_id|_branch_referrer)' +
'=[^&#]*)',
'ig');

Expand Down

0 comments on commit f0490a7

Please sign in to comment.