Problem with In-Page Analytics: "Your site doesn't load ga.js from Google"

Hi. I am trying to use Google Analytics In-Page Analytics to find out which links, in my web page, users have clicked. I have had the asynchronous Google Analytics code installed properly in the HEAD tag of my web site, and the GA code registers properly in my GA Dashboard: I see a green checkmark next under Status.

However, in my GA Dashbaord, when I go to Content > In-Page Analytics, I see a copy of my web page and then this following message pops up:

"We've identified problems in your setup. These may cause problems loading In-Page Analytics.Your site doesn't load ga.js from Google. If you host the Google tracking code on your own servers, it isn't updated automatically and can miss important changes."

If I reload the page in In-Page Analytics, the message reappears.

If I load the page in Full View, then I see only my web page, with a very long string of characters following the URL in the location bar: --6bYlihzsLINaA etc ....
 ...which is not too helpful. =)
Here is the GA code that I use in the HEAD tag of my web site:
 <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-2840437-4']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);


Open in new window

This problem is mentioned frequently in the Google Forums, but no one seems to have a full explanation or solution.

What am I doing wrong? Can someone explain this strange problem in In-Page Analytics?

Thanks very much for your time.

Eric BourlandAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This thread may help:

It suggests that the old and new versions of google analytics are not in sync and it could be that the address of your landing page is wrong in the old version.
Eric BourlandAuthor Commented:
Extremely helpful. I am following up, and I will get back to you with my results. Thanks! Eric
Eric BourlandAuthor Commented:

Thanks for your help with this problem. The gist of the solution mentioned in the GA Forum is that the URL Property of the web page must match in the old and new versions of GA.

I've confirmted that the values do match for my URL in both old and new versions of GA. Please see attached screen shots. GA Web Property OLD  GA Web Properrty NEWThe forum entry says that "But it looks like GA apparently pulls the url from the OLD version settings." That is interesting and I wonder why that is so.

I am going to keep looking for an answer. Thanks very much for your help.

JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Eric BourlandAuthor Commented:

Maybe I should try a different approach. My goal is to obtain page-click data on my web site, Clearly Google Analytics In-Page Analytics is not working for me. Is there another way to obtain Click data, either using some other part of Google Analytics, or another tracking tool?

Thanks again for your help.

Do you have multiple websites in GA - one of which is

There seems to be a bug changing between accounts with inpage. Say if I have a website called and explore this with inpage and drill down to If I log out of analytics altogether and log back in and try to navigate to a second website, in-page will try to navigate to i.e. it saves the page previously drilled down to and tags it on to the second domain.

You can work around this by dismissing the error dialogue and going back to the original domain in in-page analytics and navigating back to the root document. Then you should be able to view the second domain without the error coming up.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Eric BourlandAuthor Commented:
I will try this and get back to you today. Thanks again for your advice. Eric
Eric BourlandAuthor Commented:

>>>Do you have multiple websites in GA - one of which is

Yes. I do track multiple web sites using my Google Analytics account. I tried your idea above, but I must be doing something wrong; I still get the ga.js error message. I think there is a bug in In-Page Analytics. I will try it again later this year and see if they have made any changes.

I am going to close this question, because a) I am swamped and b) I got the client to use to track the clicks on his ads, which seems to be working well.

I really appreciate your time and expertise.

Best from Eric
Eric BourlandAuthor Commented:
Thanks very much to Seonyx.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.