Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter starrychloe

    (@starrychloe)

    I was able to work around it by putting this into header.php for both themes.

    <!-- Split test -->
    <script>
      ga('set', 'dimension1', '<?= wp_get_theme()->get('Name') ?>');
    </script>
    
    </head>

    Google also seems to have renamed their custom variables, and now it’s called something else.

    https://support.google.com/analytics/answer/2709829

    Plugin Author Lee Willis

    (@leewillis77)

    Hi,

    I normally expect people to use this alongside a Google Anayltics plugin such as Yoasts’ and as that doesn’t support Universal Analytics yet, I haven’t updated this yet.

    Thanks for taking the time to post your workaround though – much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Needs update for latest GA’ is closed to new replies.