Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Debugging Google Analytics Visits WordPress


I'm trying to use Google Analytics visits to show how many total visits to my blog. When I put my site name: as the Profile ID, I get the following Debugging Report attached as an image. I have no idea what to do with that.

I believe I'm supposed to use the site address. When I used my gmail address, I got the message that I had the wrong user id or password.

Thank you!

<strong>Debug Report:</strong> ( In-case you see this you have some problem kindly used this data to report me or fix things yourself remember im always here to help :) )

exception 'Exception' with message 'GAPI: Failed to request report data. Error: "Invalid value for ids parameter:"' in /home1/sowhatir/public_html/wp-content/plugins/google-analytics-visits/gapi.class.php:218
Stack trace:
#0 /home1/sowhatir/public_html/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(1096): gapi->requestReportData('www.sowhatireal...', Array, Array, Array, NULL, '2005-01-01', NULL, NULL, '10')
#1 /home1/sowhatir/public_html/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(486): GoogleAnalyticsVisits_widget_output()
#2 /home1/sowhatir/public_html/wp-content/plugins/google-analytics-visits/google-analytics-visits.php(454): GoogleAnalyticsVisits_print()
#3 /home1/sowhatir/public_html/wp-includes/plugin.php(405): GoogleAnalyticsVisits_options(true)
#4 /home1/sowhatir/public_html/wp-admin/admin.php(151): do_action('')
#5 /home1/sowhatir/public_html/wp-admin/options-general.php(10): require_once('/home1/sowhatir...')
#6 {main}

Answers (2)


Luis Cordova answers:

the profile Id is found on your google analytics account, it is a number with some letters

you can find it in the dashboard, check it carefully

alison7 comments:

Hi Luis, Thank you. I had tried that number too. UA-xxxxxxxx-1. That doesn't work either. Any other ideas?

Luis Cordova comments:

there is a profile id let me show you hold it

Luis Cordova comments:

re: above, the profile ID is obtained from the Google Analytics Site Dashboard page
(the number after ?id=). Hope this helps.

Luis Cordova comments:

You are using your GA account number as your id. Instead it should be the Profile ID related
to the site (as in 7 digits, something like 2116412).

alison7 comments:

Hi. So I looked all over, and finally found an 8 digit number on the Analytics Account setting page under "Account ID" 216XXXXX. It happens to be the same number in the UA-xxxxxxxx-1. Unfortunately this 8 digit number gave me the same debugging message. If you're sure it's a seven-digit number, maybe you could help me locate it. Thank you!

Luis Cordova comments:

please send me the login info via private message

Luis Cordova comments:

whatever is the number after ?id=

on the url address at GA dashboard

alison7 comments:

It does say that the profile id should be seven numbers, but I can't find where the profile settings page is.

Luis Cordova comments:

see attached see on the url address bar id= that is the number for me, do the same