title: Handle both URL (matrix && query) parameters in Angular 4+
body: <p>Currently we use matrix params in my angular 4+ application. Google Analytics has problems reading URL with <code>;</code> so we decided to change it to query params. However old notation (matrix) must be accessible and redirect to new one and save such event into db.</p>
  
  <p>I see three possible solutions:</p>
  
  <ol>
  <li>Use custom URL serializer/parser which would use regex to convert matrix to query, save to db and make redirect</li>
  <li>Use some sort of route guard with the same functionality</li>
  <li>Use dedicated component to handle this functionality</li>
  </ol>
  
  <p>While 3rd way is certainly last chance option, I have troubles anticipating which of the remaining two would be better.</p>