Solved

Google Analytics not tracking anylonger

Posted on 2009-07-03
5
209 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
  • 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 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Your personal information, where you live, your wedding information, and anything else personal may be located online and in many cases the aggregators who pulled this stuff did so without your permission. Here are ways that you can get rid of unwan…
The viewer will learn how to dynamically set the form action using jQuery.
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now