How to finding my Google Analytics Code in Google Analytics

by 3 replies
4
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
#programming #analytics #code #finding #google
  • 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 ( ) click on red example , you will get code you are looking for to add to your website!!!!!

    hope it helps
    • [ 1 ] Thanks
    • [2] replies
    • 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.
    • Thank you!! Exactly what I was looking for :-)

      Blessings

      Ryan

Next Topics on Trending Feed