You are here

function ga_push_page_alter in GA Push 7

Implements hook_page_alter().

File

./ga_push.module, line 100
Drupal Module: GA Push.

Code

function ga_push_page_alter($main = 0) {
  module_load_include('inc', 'ga_push', 'inc/ga_push.ga_js');
  ga_push_method_ga_js_push();
  module_load_include('inc', 'ga_push', 'inc/ga_push.analytics_js');
  ga_push_method_analytics_js_push();
  module_load_include('inc', 'ga_push', 'inc/ga_push.datalayer');
  ga_push_method_datalayer_push();
}