Colocando o analytics no viewdidload.