Posted by jovemac on June 22, 2008 at 9:40am
I recently upgraded to the latest version of google analytics in my drupal installation. After that everytime I login to admin, I see an error report that google analytics not configured.
I gave the google analytics number as UA-XXXXXXX. It says the below error message. I dunno how to get the analytics code in the specified format.
A valid Google Analytics account number is case sensitive and formatted like UA-xxxxxx-x
Please advise
JO
Comments
Please double check your
Please double check your Google Analytics account number.
The error message explains it already. Check the format.
Most probably, you left out the final number and a dash : xxxx-X
KahThong.com - My portfolio. PHP Web Developer from Malaysia.
Answer
You need to check the tracking code for the specific Analytics profile #. The account number specified in "Edit Account and Data Sharing Settings" is not the number you want to use.
When you select "Check Status" for the specific Analytics profile it will generate the code you need if you were copying/pasting into a website. From that you can get the account number in the following line:
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
The UA and the x's are the number you need.
Jeff
--- http://jeffstevenson.karamazovgroup.com
--- http://jeffstevenson.karamazovgroup.com
thanks as well wow could
thanks as well
wow could they have made it harder to find... i don't think I wasted enough time looking for the 1 bit of information I need.
Queston about Google Analytic
Hi guys,
I am using drupal for the first time. I tried to use Google Analytic module in my drupal SEO Articles Directory but it is asking about GA number. How can I get one ?
Thanks
Khalid
ask google
i think you need to go through analytics.google.com to find the answer to that, not drupal.org.
go try and create a new gAnalytics account and play with the google site, it'll give you what you need eventually. (sorry i can't give detailed instructions, but that's basically what i did and got what i needed within an hour or so).
be sure to reference the above info posted by jxsxxxx, that the GA # required by the drupal plugin is only given to you when GoogleAnalytics' website generates the code it wants you to insert into your site.
I have issues as well....
Okay,
I've dropped the googleanalytics module in the modules directory...do I have to do something to activate it? Nothing shows up in the control panel. Thanks
Enable it and add your account