function google_analytics_reports_init in Google Analytics Reports 7
Same name and namespace in other branches
- 6 google_analytics_reports/google_analytics_reports.module \google_analytics_reports_init()
Implements hook_init().
File
- google_analytics_reports/
google_analytics_reports.module, line 46 - Front-end interfaces that use the Google Analytics API module.
Code
function google_analytics_reports_init() {
drupal_add_js(array(
'googleAnalyticsReportsAjaxUrl' => url('google-analytics-reports/ajax'),
), 'setting');
}