?
Solved

Google Analytics not tracking anylonger

Posted on 2009-07-03
5
Medium Priority
?
216 Views
Last Modified: 2013-12-07
My analytics was working fine until a week ago and now it isn't tracking at all.  I do know that amount of people who have visited so it shouldn't be saying zero.

Any thoughts,
Kel
0
Comment
Question by:kellyputty
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:Tyler Laczko
ID: 24772853
log into your account on analytics and verify the code matches on you website pages.

also right click one of your website pages and VIEW SOURCE

make sure the google code is in there and appears correctly.
0
 

Author Comment

by:kellyputty
ID: 24773055
In analytics I see "UA-9093249-1.  When I did afind on my home in source I didn't see "UA-9093249-1".  It must have been there a week ago, not sure why it got deleted.  Where in analytics can I acquire the code again with the same Id.  Also where do I copy and paste it in my home page?

Thanks for the help,
Kel
0
 
LVL 10

Expert Comment

by:Tyler Laczko
ID: 24773228
You can just add it inside the <body> tag at the end.


<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">
var pageTracker = _gat._getTracker("UA-********");
pageTracker._initData();
pageTracker._trackPageview();
</script>

Open in new window

0
 
LVL 10

Accepted Solution

by:
Tyler Laczko earned 2000 total points
ID: 24773247

<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("UA-**********");
pageTracker._trackPageview();
} catch(err) {}</script>

Open in new window

0
 

Author Closing Comment

by:kellyputty
ID: 31599593
Thanks.
0

Featured Post

Linux Academy Android App Now Supports Chromecast

We have some fantastic news for our Android fans. We’re so excited to announce that the Linux Academy Android app is now available with Chromecast support. That’s right – simply download the latest update of the Linux Academy App and start casting your favorite course videos!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google always has something new and amazing up its sleeve, and the most current thing that they have been working on is another step in the evolution of Google Search, from machine learning to its brilliant successor, deep learning.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question