If there is either a grey, a purple, or a hollow arrow icon on the left side of the status bar of your iPhone, that means your location was tracked.