Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #219894

    Hi!

    The new Google Universal Analytics works fine with Enfold but in order to get demographics, interests and remarketing data you need a slightly upgraded code as described here: https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad.

    Any chance that Enfold will implement it? Or maybe give users a choice between “Universal Analytics Basic” and “Universal Analytics Plus”?

    In terms of content, Google recommends that users of the Plus version describe their privacy policy based on guidelines found here: https://support.google.com/analytics/answer/2700409

    Rgds ///Peter

    #220095

    Hi peterfagerberg!

    You can put whatever analytics code you want into the themes analytics field.

    Regards,
    Devin

    #220103

    Ah, misunderstanding. The Google script has to be modified to this:

    <script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-xxxxx-y']);
    _gaq.push(['_trackPageview']);
    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 
    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    </script>

    Rgds, ///Peter

    #220159

    You can add the entire script except the script tags to the analytics field. You don’t need to use the account number and let the theme wrap it for you and instead add in your own.

    You can also choose not to use the themes field and add it directly to your footer or use another plugin which supports the format you want.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enhanced Google Universal Analytics code’ is closed to new replies.