[wp-meta] [Making WordPress.org] #5481: Prevent/strip UTM tags in plugin readme 'internal' links
Making WordPress.org
noreply at wordpress.org
Thu Oct 22 14:42:03 UTC 2020
#5481: Prevent/strip UTM tags in plugin readme 'internal' links
------------------------------+-----------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: defect | Status: new
Priority: lowest | Milestone:
Component: Plugin Directory | Keywords: analytics
------------------------------+-----------------------
Plugins like https://fr.wordpress.org/plugins/popups-for-divi/ include UTM
parameters in their links (e.g., in this case,
`?utm_source=wporg&utm_medium=link&utm_campaign=popups-for-divi`), for
their own attribution purposes.
However, when these links point to wordpress.org URLs, that breaks ''our''
attribution (by resetting the user session and allocating it to the
defined channel).
That makes these kinds of links annoying at best, and, an attack vector on
our analytics at worst.
As such, we should strip these parameters when they're present on
'internal' links (i.e., any which match something along the lines of
`https?://([a-z-]+)\.wordpress\.org`).
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5481>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list