Open robinp opened 10 months ago
By default the full url is sent for tracking. This PR adds functionality to control which parts are included.
A practical use-case is to exclude the fragment parts after the #, since these are typically local details.
#
One thing I'm not sure about is the default url used (if a router is not present), assumed window.location.href (see change), but feel free to revise.
window.location.href
TEST=ran lint, eyeballed cases in network inspector
By default the full url is sent for tracking. This PR adds functionality to control which parts are included.
A practical use-case is to exclude the fragment parts after the
#
, since these are typically local details.One thing I'm not sure about is the default url used (if a router is not present), assumed
window.location.href
(see change), but feel free to revise.TEST=ran lint, eyeballed cases in network inspector