2 Replies Latest reply on Apr 7, 2014 6:51 AM by Preran

    Google Analytics Problems

    Alberto_x137 Level 1

      Hi all, folks!!

       

      I'm following you since several months, but is my first oficial question.

       

      I'm doing a personal website with adobe edge (yes, the entire site with edge animate...i think i should have chosen dreamweaver), and now, when i upload it to the server i have a problem with google analytics. I put the Google code in my html file, but Google doesn't find it...so i don't know how to solve this problem.

       

      I've found a Sara's tutorial, but the code is diferent and it doesn't works with my page.

       

      My script is something like this:

       

      <script>

       

        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=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', 'UA-XXXXX749-1', 'myweb.es');

       

        ga('send', 'pageview');

       

       

       

      </script>

       

       

      Please help me!! I need to fix this :S

       

      P.S: I'm a big newbie in this area, so explain too clearly if it's possible please.

       

      THANKS A LOT!!