twitter analytics implementation