Sparkline class, add analytics