How to track a point with axis
The "Clamp To" constraint and the "Track to" constraint can co-exist on the Object Constraints panel.  Place the "Clamp To" above the "Track To", so that the track targeting happens from the newly clamped location.

In this example, the object's location is clamped along a path defined by a Bezier Curve, and its X axis targets an Empty.