Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28571

    Hi,

    I’m having some issues getting Google Analytics to work properly inside of Enfold.

    I got my tracking and dropped it into the designated area in the Enfold dashboard, and it seems to be partially tracking visits, since it’s registering some visits to the homepage, but it’s not doing it accurately, and not giving me any other info, like visits/hits on projects that I have in a portfolio grid on the same page.

    It still says “Status: Tracking Not Installed” ..any suggestions.

    Should I email the code it’s giving me to use?

    My site is omarramirez.net (which forwards to omarramirez.net/cms where the wordpress site lives)

    I also wanted ask what steps I’d have to go through to activate enhanced link attribution.

    thanks

    Omar

    #137985

    I couldn’t find the analytics code anywhere in the html source code. Make sure you paste the entire analytics code into the “Google Analytics Tracking Code” option field (and not just the tracking id) and clear your caches (wordpress & browser cache).

    Re link attribution – maybe this article will help you: https://support.google.com/analytics/answer/2558867?hl=en

    #137986

    Thanks, I’ll take a look at that again. As far as cache issues, could the use of the WP Super Cache plugin be contributing to issues? It was recommended by my hosting service for WordPress sites, but I’m not really sure what benefit it’s providing.

    #137987

    Also, looking at the link attribution link you provided, I’m noticing the Google Analytics Tracking Code that’s given to me to drop in is not in the same format as what’s cited, so I wouldn’t know where to place that red text. I’m not sure why the formatting is so different from that bit of code, and code it’s given me in the past. Here’s what It’s giving me (I Xed out the tracking ID) :

    <script>

    (function(i,s,o,g,r,a,m){i=r;i[r]=i[r]||function(){

    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

    })(window,document,’script’,’//www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘XXXXXXXXX’, ‘omarramirez.net’);

    ga(‘send’, ‘pageview’);

    </script>

    I’ve used Analytics before, so I know to copy the whole field, but I’m sure that’s a very common mistake…

    #137988

    Hi Omar,

    I think that article has probably just not been updated since analytics switched to the new code.

    If you are having issues with the themes usage, you can try any of the plugins available for adding the script into your footer and see if another avenue gives you better luck.

    Really however it should work without issues as long as you copy and paste the entire script block into the field in your theme options.

    Regards,

    Devin

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Google Analytics Not Working in Enfold’ is closed to new replies.