Smile4ever / Neat-URL

Neat URL cleans URLs, removing parameters such as Google Analytics' utm parameters.
Other
631 stars 37 forks source link

add Aliexpress tracking parameter #103

Closed RepoMoveBot closed 6 years ago

RepoMoveBot commented 6 years ago

Issue by dartraiden Tuesday Dec 19, 2017 at 13:22 GMT


spm (example: click on any item from the store)

In addition, it would be a good idea to add

aff_platform cpt sk aff_trace_key terminal_id

This tags added by partner sites that receive % of the purchase made by the link.

RepoMoveBot commented 6 years ago

Comment by Smile4ever Tuesday Dec 19, 2017 at 13:29 GMT


I could add these:

spm@aliexpress.com aff_platform aff_trace_key terminal_id

I'm quite sure sk and cpt are used for different purposes as well and adding them might break other sites. But feel free to add them yourself to the preferences.

RepoMoveBot commented 6 years ago

Comment by dartraiden Tuesday Dec 19, 2017 at 13:40 GMT


spm@aliexpress.com

Will this work with ru.aliexpress.com, de.aliexpress.com, etc?

RepoMoveBot commented 6 years ago

Comment by Smile4ever Tuesday Dec 19, 2017 at 13:43 GMT


Good catch.

We need these:

spm@*.aliexpress.com
scm@*.aliexpress.com
aff_platform
aff_trace_key
terminal_id
RepoMoveBot commented 6 years ago

Comment by Smile4ever Tuesday Apr 17, 2018 at 21:24 GMT


Added in 4.1.1.

RepoMoveBot commented 6 years ago

Comment by crssi Wednesday Apr 18, 2018 at 05:43 GMT


Hmmm... just one question:

Does spm@*.aliexpress.com covers also domain aliexpress.com or only somesubdomain.aliexpress.com?

Should we have two rules for specofic parameter to cover them all like: spm@*.aliexpress.com spm@aliexpress.com

RepoMoveBot commented 6 years ago

Comment by Smile4ever Wednesday Apr 18, 2018 at 17:17 GMT


Does spm@*.aliexpress.com covers also domain aliexpress.com or only somesubdomain.aliexpress.com?

It covers both. According to my tests, the *.aliexpress.com parameters work as intended: strip the parameter from the root domain and the subdomains.

Given the rule test@*.hugsmile.eu http://hugsmile.eu/nl/?test is rewritten to http://hugsmile.eu/nl

Should we have two rules for specofic parameter to cover them all like

No, if that is needed that would be a bug.