analytics code tweak

[#15]