How to finding my Google Analytics Code in Google Analytics

3 replies
Hi guys,

My html files are all messed up and I'm trying to retrieve
the Google Analytics Code of one of my site. Do you know in
Google Analytics where to find it again?

Thank you in advances...

Ryan
#analytics #code #finding #google
  • Profile picture of the author dasadax
    login to your account , look for following status must be like a clock to be working. if not on the right you will see edit , click on it then at the top right corner

    Receiving Data ( Check Status ) click on red example , you will get code you are looking for to add to your website!!!!!

    hope it helps
    {{ DiscussionBoard.errors[1789021].message }}
    • Profile picture of the author osegoly
      Also, if you go into your existing HTML webpages you may be able to find this code right before your closing body tag (ie. </body>).

      It should look something like:

      <script type="text/javascript">
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
      </script>
      <script type="text/javascript">
      try {
      var pageTracker = _gat._getTracker("YOUR-CODE");
      pageTracker._trackPageview();
      } catch(err) {}</script>


      Good luck.
      {{ DiscussionBoard.errors[1789046].message }}
    • Profile picture of the author SuperRyan
      Originally Posted by dasadax View Post

      login to your account , look for following status must be like a clock to be working. if not on the right you will see edit , click on it then at the top right corner

      Receiving Data ( Check Status ) click on red example , you will get code you are looking for to add to your website!!!!!

      hope it helps
      Thank you!! Exactly what I was looking for :-)

      Blessings

      Ryan
      {{ DiscussionBoard.errors[1791344].message }}

Trending Topics