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 Once you've done that, put the following in the child's functions.php file:

function child_ga_script() {


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



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

Change the bold part to you analytics id.