'googleanalytics'))->fetchField(); // Update the weight of the UC Google Analytics module so its hooks get called // after the actual Google Analytics module. db_update('system') ->fields(array('weight' => max(1000, $weight + 1))) ->condition('name', 'uc_googleanalytics') ->execute(); }