Update analytics.php

We had an outdated master copy.  Was pointed out that the code was slightly different.  When we requested the pull however, we left out the important detail for the grouped filter items.  This request fixes that.
Merge pull request #33 from JMSolo/patch-4

Update analytics.php