The most efficient technique depends entirely on the shot. The most likely workflow is either corner pin tracking or corner pin tracking in Mocha AE. This is an example of what I call Advanced corner pin tracking in Mocha AE that replaces a blank TV screen with some video. Maybe it will get you started:
You might also want to try typing Corner Pin tracking in the Search Help field at the top right corner of After Effects and checking out the help files.
If we saw you shot we could give you a much better idea of the most efficient way to do the shot.
Remember AE is for creating effects shots and graphics that you cannot create in a Non Linear Editor (Premiere Pro) it is not an editing app.
I was able to track the mask shape so that's all good.
tracking a mask will only create a moving mask, not a position keyframe you can attach to another layer. if you wan't to match move the traditional way, use traditional tracking. Rick's approach is one way to do it, and as he said - if we could see the shot, then we could give you many ideas. sometime we will even show you a full walkthrough.
Did Rick and Roei's posts help you? If so, please mark one as correct (the button with the green star) and the other as helpful.
If not, please give us some more information so we can help you.