The problem is, it isn't the school's responsibility to get kids to school, it's the parents' responsibility. Think of this from the kid's perspective. If your teachers don't trust you, you have no reason to trust them, right? And if you don't trust them, why would you want to listen to what they try to teach, or do as they say?
Schools should not be forcing kids to do anything at all. If the school is concerned that a student's absences are impeding his learning, or provide any other concern, they should go through the kid's parents. If a student is behaving disruptively, then nothing the school can do will improve the situation; that must be resolved by the kid's parents. No good can come of allowing schools to do more than simply teach the students.
Kids may not be fully developed, but they're far more intelligent and perceptive than you give them credit for. They are, in fact, capable of making good long-term decisions, if their parents teach them how to do it. They are, in fact, capable of understanding why they should attend school and put some effort into it, if their parents teach them why. They are, in fact, capable of understanding why they should behave respectfully to their fellow students and to teachers, if their parents teach them why. These are not problems resolvable by GPS tracking devices or detention, they must be resolved by good parenting.
Parents who want schools to do their parenting for them are causing far more trouble than anything else. Parents who do not accept responsibility for their child's behavior -- by attempting to force schools to take on that responsibility -- are giving that child a very poor message: "we don't love you enough to take care of you." I'm sure I don't have to explain why that would tend to worsen a child's behavior, rather than improve it -- and as I already pointed out, good parenting is the solution, not draconian school-instituted punishments.