add track event
write up socket manger