Is girlfriend phone tracking legal?

@Haiku Thanks but I still get mixed up. If I use mSpy with my kid, do I need to tell them first, or is it totally fine to just set it up? I don’t want to break a law by accident.