You are here

function google_analytics_reports_api_help in Google Analytics Reports 7.3

Implements hook_help().

File

google_analytics_reports_api/google_analytics_reports_api.module, line 11
Implements the API through which Google Analytics data can be accessed.

Code

function google_analytics_reports_api_help($path, $arg) {
  switch ($path) {
    case 'admin/help#google_analytics_reports_api':
      $output = '<p>' . t('Google Analytics Reports and it\'s API module provides site administrators and programmers a rich API to generate graphical reports based on Google Analytics data.  The reports module includes a helpful sitewide report located under <a href="!link">Drupal\'s default administrator reports</a>, and blocks for both sitewide and path-based reports.', array(
        '!link' => url('admin/reports'),
      )) . '</p>';
      $output .= '<p>' . t('Programmers can build complex queries against Google Analytics and display them in any format they like. To get started coding your own reports, visit the <a href="!link">Google Analytics Reports documentation page on drupal.org</a>.', array(
        '!link' => url('https://www.drupal.org/node/1138274'),
      )) . '</p>';
      return $output;
  }
}