You can maybe leverage the OnActivate phase with the routerOnActivate
method that gives you access to the previous url and the current one.
routerOnActivate(next: ComponentInstruction, prev: ComponentInstruction) {
console.log(`Finished navigating from "${prev ? prev.urlPath : 'null'}" to "${next.urlPath}"`);
}