If you attach tracking to get exact set numbers it'd be illegal, but taking an aggregate and doing statistics shouldn't be since it can't be traced to individuals.