My goal is to track specific metrics in Google Analytics by extracting certain parameters, removing sensitive information, and sending them off as a comma-separated string. For example:
this=me&that=you
should be transmitted to GA as:
this,that
I have attempted to utilize Angular's URL parser, but it seems like I may require a more intricate solution. My knowledge of REGEX is not advanced enough to achieve this efficiently. Any assistance on this matter would be highly appreciated.