Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Google Analytics not tracking anylonger

Posted on 2009-07-03
5
Medium Priority
?
217 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
There is a massive demand for content on the web right now, and it doesn't look like it's going to stop any time soon. But, if you are running a business blog, it's not just enough to offer your audience lots of content. It needs to be high-quality…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

636 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