'Going astray', which means wandering from the wonted direction. 'On the wrong track' indicates a decided effort to pursue a different goal (which the speaker considers wrong).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.