setup tracking properly