"Here is a script that calculates the 2D position of a 3D object on the rendered image depending on the camera properties and render resolution. Two files are exported containing animation curves to be loaded into Shake for tracking purpose. It doesn't matter if the object isn't visible on screen.