[refactor] Edited analytics backend function to accept a callback from the routes page.
[refactor] Edited analytics backend function to accept a callback from the routes page.

sljohn/drivus,sljohn/drivus