Added Usage Analytics code