In order to enable additional initialization-time options to the Google Analytics script, please follow the instructions below:


Disable the current option in Vamtam/General and get a child theme from http://vamtam.com/child-themes/. Once you've done that, put the following in the child's functions.php file:


function child_ga_script() {

?>

  <script>
    window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
    ga('create', 'UA-XXXXX-Y', 'auto');
    ga('require', 'displayfeatures');
    ga('send', 'pageview');
  </script>
  <script async src='https://www.google-analytics.com/analytics.js'></script>

<?php

}

add_action('wp_head', 'child_ga_script', 10000);


Change the bold part to you analytics id.