You are here

function googleanalytics_menu in Google Analytics 7

Same name and namespace in other branches
  1. 5 googleanalytics.module \googleanalytics_menu()
  2. 6.4 googleanalytics.module \googleanalytics_menu()
  3. 6 googleanalytics.module \googleanalytics_menu()
  4. 6.2 googleanalytics.module \googleanalytics_menu()
  5. 6.3 googleanalytics.module \googleanalytics_menu()
  6. 7.2 googleanalytics.module \googleanalytics_menu()

Implements hook_menu().

File

./googleanalytics.module, line 78
Drupal Module: Google Analytics

Code

function googleanalytics_menu() {
  $items['admin/config/system/googleanalytics'] = array(
    'title' => 'Google Analytics',
    'description' => 'Configure tracking behavior to get insights into your website traffic and marketing effectiveness.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'googleanalytics_admin_settings_form',
    ),
    'access arguments' => array(
      'administer google analytics',
    ),
    'type' => MENU_NORMAL_ITEM,
    'file' => 'googleanalytics.admin.inc',
  );
  return $items;
}