Added by Tom Clegg about 10 years ago. Updated almost 10 years ago.
See http://piwik.org/docs/custom-variables/ for part of the answer to 'how do we track each group'.
Also available in: Atom PDF