July 15, 2012

[solved] Google Analytics : Tracking not installed

I have been using Google analytics for over four years. I was quiet proficient at integrating analytics code and used it in more than one site (for example, http://get-a-solution.blogspot.com). However, recently I faced problem at google analytics integration and it was really disgusting. I copied the tracking code from analytics, paste it before the closing head () tag like I did on my other site. But it did not work. The following error showed up :"Tracking Not InstalledLast checked: Jul 14, 2012 9:27:34 PM PDTThe Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website."



 Analytics kept telling me tracking is not installed. I waited for few hours, refreshed analytics page repeatedly and checking the page source of my website to see if everything is okay.
And everything was okay (!) in my page. I googled this problem and found mistakes other folks had been doing. I did not put wrong code, did  not change profile id, did not disable javascript, did not put wrong URL at analytics settings. The online solutions were not applicable for me. I got frustrated due to repeated failure.

Then it occurs to me, almost suddenly. I have chosen a naked domain name for my site. It was http://shoppingdhaka.com . It will work fine when you type http://www.shoppingdhaka.com at the browser. But it is really a naked domain, meaning you actually do not have that WWW in the domain name. And this was actually my mistake. I put a WWW in the analytics sprofile url box. 

The tracking not installed message was gone seconds after I removed that WWW from my URL. See the image below to find where I made the change.
Tracking Not Installed:solution
See that default URL box? Just remove the WWW from this box. So www.dhakashopping.com should be just "dhakashopping.com". It will work if you make no other mistakes.




13 comments:

  1. thank you! your post saved me after hours of frustration!

    ReplyDelete
  2. i faced the same issue and then i found this link http://webloggerz.com/tracking-not-installed-google-analytics/

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. AWESOME!!!!! I worked on this for days!!! Your solution worked in under 30 seconds!

    ReplyDelete
  5. Thank you very much. This really helped. Why isn't there a tip from google about this????

    ReplyDelete
  6. Mine was already http://xxxxxx.blogspot.com/
    But it never changed the status :(
    Any ideas why?

    ReplyDelete
    Replies
    1. I really dont know what is happening in GA. It behaves really weired these days.
      You can try this http://qyerty.blogspot.com/2012/10/analytics-tracking-problem-in-new.html

      Delete
  7. I have been frustrated for days trying to get GA to work for my DW-HTML based website. I have tried numerous methods - put the script before the ending head tag; put the script before the ending body tag; even tried inserting the script in a php file and calling it from my html with an include once. I also tried your method of removing the www from the url in Property Settings, but it still says Tracking Not Installed. I have been to numerous forums and support guides, and I still can't get it to work. And, it sounds like there are many frustrated users with GA with their Tracking Not Installed either. The instructions provided by Google sounded straightforward, but I'm pulling my hair out trying to get this to work! Any suggestions or feedback would be much appreciated! Thanks in advance!

    ReplyDelete
    Replies
    1. let me know if you succeed. Dont hesitate to ask if you need any help

      Delete
  8. do i have to wait for 24 hours to get rid of this error? :(
    ive ckeck everything but still tracking not installed error :(

    mytrickland.blogspot.in

    ReplyDelete
    Replies
    1. Have you tried this?
      http://qyerty.blogspot.com/2012/10/analytics-tracking-problem-in-new.html

      Delete