You are here

function analytics_google_analytics_service_info in Analytics 7

Implements hook_analytics_service_info().

File

analytics_google/analytics_google.module, line 45

Code

function analytics_google_analytics_service_info() {
  $info['google_universal'] = array(
    'label' => t('Google Universal (analytics.js)'),
    'class' => 'GoogleUniversalAnalyticsService',
    'multiple' => TRUE,
  );
  $info['google_ga'] = array(
    'label' => t('Google Analytics (ga.js)'),
    'class' => 'GoogleAnalyticsGaService',
    'multiple' => TRUE,
  );
  return $info;
}