First attempt at adding analitics