analytics and coinbase code added