Currently in the Tracker API we do trim content names, pieces, targets strings. To be consistent we could also trim event names (
e_n), event category (
e_c), event actions (
We could even trim a couple of other inputs where it could make sense like Page title (
action_name), possibly site search keyword (
fyi: creating this issue as a result of a user and developer getting confused about duplicate data in an Events report.
Problem solved by "invisible empty space".