Revert "changed analytics method"

This reverts commit c2652722b4203baa64f770e536b7604e91e4afc4.