Because previously in our .inc file, we used " if ($type == 'visits') {} " to indicate websites data and "else {}" to indicate pageviews, I think it is a little bit confusing, so i use 'sites' for sites and 'pages' for pages.