Added analytics tracking.