Add Analytics tracking.
Merge with Matt.