I managed to find a shorter solution…
In the expression area for the position of my layer I need to transform so that it tracks with my precomp layer just below it:
this_comp.layer(“precomp”).source.layer(“layertotrackinprecomp”).position
and then adjust the anchor point of the layer that I am using this expression on. Do same with rotation and it works like a charm!