File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ The following query string parameters are stripped:
3030 - ` utm_name `
3131 - ` utm_social `
3232 - ` utm_social-type `
33+ - [ ActiveCampaign] ( https://www.activecampaign.com/ )
34+ - ` vgo_ee `
3335- [ HubSpot] ( https://www.hubspot.com/ )
3436 - ` _hsenc `
3537 - ` _hsmi `
Original file line number Diff line number Diff line change 33 * parameter. We'll search the query string portion of the URL for this
44 * pattern to determine if there's any stripping work to do.
55 */
6- const searchPattern = new RegExp ( 'utm_|stm_|clid|_hs|icid|igshid|mc_|mkt_tok|yclid|_openstat|wicked|otc|oly_|rb_clickid|soc_|cvid|oicd' , 'i' ) ;
6+ const searchPattern = new RegExp ( 'utm_|stm_|clid|_hs|icid|igshid|mc_|mkt_tok|yclid|_openstat|wicked|otc|oly_|rb_clickid|soc_|cvid|oicd|vgo_ee ' , 'i' ) ;
77
88/*
99 * Pattern matching the query string parameters (key=value) that will be
1010 * stripped from the final URL.
1111 */
1212const replacePattern = new RegExp (
1313 '([?&]' +
14- '(icid|mkt_tok|(g|fb)clid|igshid|_hs(enc|mi)|mc_[ce]id|(utm|stm)_(id|source|medium|term|campaign|content|cid|internal|reader|referrer|name|social|social-type|klaviyo_id)|rb_clickid|yclid|_openstat|wickedid|otc|oly_(anon|enc)_id|soc_(src|trk)|cvid|oicd)' +
14+ '(icid|mkt_tok|(g|fb)clid|igshid|_hs(enc|mi)|mc_[ce]id|(utm|stm)_(id|source|medium|term|campaign|content|cid|internal|reader|referrer|name|social|social-type|klaviyo_id)|rb_clickid|yclid|_openstat|wickedid|otc|oly_(anon|enc)_id|soc_(src|trk)|cvid|oicd|vgo_ee )' +
1515 '=[^&#]*)' ,
1616 'ig' ) ;
1717
You can’t perform that action at this time.
0 commit comments