Revert "Analytics code"

This reverts commit 8f1cd6fa9d2b1ebc2dcdd57db65f8e4b09067157.