Add analytics tracking.