closes #34 Added analytics