InMotion Hosting Support Center

Google Analytics Not Working

Category: Google Tools

2012-12-10 2:19 pm EST

Hits: 1,293
Since I transferred from GoDaddy 2 weekends ago, I have not been able to get Google Analytics information from my site. When I chatted with one of your representatives over this past weekend, I was told "I can turn that back on for you." Confused I asked, "why is it off?" and was told that it is shut off "at times" if server performance is impaired. Supposedly it is to be working. I still have no Google Analytics information now. THIS IS NOT ACCEPTABLE TO ME AND IS REASON TO DISCONTINUE SERVICE IF IT IS NOT CORRECTED. I cannot host Websites on your equipment with no Google analytics information--no way possible.
WHAT IS GOING ON??????????

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


5,889 Points
2012-12-10 4:41 pm EST
Thank you for your question mwuilleu!

Sorry for the trouble with your Google analytics code not working. Google analytics is a client side JavaScript. There is no server side setting that is turned on or off to allow Google analytics to work. The code purely works over the client side browser.

I looked at your website with Google Analytics Debugger in Chrome and found the following Error.

<div style="margin-left: 20px">The _setAccount API expects an account string for argument 0. The argument given (36141341-1) does not match the expected format of UA-XXXXXX-X.</div>
It appears the Google analytics code you have does not have the correct Account number in it. Its missing the UA in front of it. I wrote an article about this to clarify this called:

<a style="margin-left: 20px;" href="" target="_blank">Debug Google Analytics with Google Chrome Debugger</a>

Its difficult to say why it worked on the old sever with the account information missing in the code.

From what you mentioned in the tech support conversation, it appears there was a misunderstanding. The AwStats (not related to google) can be interrupted if the server is on a high load. On VPS servers this is not usually the case. The AwStats can be manually ran or shut off; however, this has no relation to Google Analytics. AwStats is on be default on all our servers.

Best regards,
James R

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!