Revert "integrating analytics API call"

This reverts commit 23695c187959ed7f2342a6155c5c0d6c8bebf2e6.