Add some fancier analytics (timings and events)