public function AnalyticsService::canTrack in Analytics 7
Determines if the current service can track the current request.
Parameters
array $context:
Return value
bool TRUE if the service should output on the current page, otherwise FALSE.
Overrides AnalyticsServiceInterface::canTrack
File
- lib/
AnalyticsService.php, line 72
Class
Code
public function canTrack(array $context) {
return !path_is_admin($_GET['q']);
}