[USER] Based on your description of the problem, I'm not sure exactly how this is related to the Angular router. Presumably the analytics code is throwing an error while the Router is navigating, and that error causes the navigation to abort? How/where is that problematic piece of code invoked? Now that you've identified the source of the error, are you able to create a minimal reproduction?