How do I motion track the video only (not 3D)

All the motion tracking tutorials I search up are for embedding 3D models or placing objects into your video that arent really there, which is not what I want. All I want is to zoom in on a part of a video (e.g. a weapon or character moving across the screen) and track the motion of that object as it moves. How do I do this?