Child product stat tracking

Is it possible to track the stats of a child product?
If I sell item A there will be a stat showing that item on an invoice. If item B is a child of item A then it too should have a stat on invoice. Am I going about this wrong?