You are here

function piwik_update_7201 in Piwik Web Analytics 6.2

Same name and namespace in other branches
  1. 7.2 piwik.install \piwik_update_7201()

Move async tracking code to header.

File

./piwik.install, line 198
Installation file for Piwik - Web analytics module.

Code

function piwik_update_7201() {
  $ret = array();
  variable_set('piwik_js_scope', 'header');
  $ret[] = array(
    'success' => TRUE,
    'query' => 'Async tracking code has been moved to header.',
  );
  return $ret;
}