thujohn / analytics-l4

Google Analytics for Laravel 4
MIT License
111 stars 33 forks source link

User does not have any Google Analytics account. #15

Open manishkvaish opened 10 years ago

manishkvaish commented 10 years ago

hi.. i am getting this error Error calling GET https://www.googleapis.com/analytics/v3/management/accounts/~all/webproperties/~all/profiles: (403) User does not have any Google Analytics account.

i wonder why this is happening ,as i have a valid google analytic account with my account info showing on the right/top of my account page as

manishnitk2011@gmail.com laraval - http://laraval.eu1.frbit.net/ All Web Site Data

(more over i am putting the client id and mail etc. well attached with my google api account with analytics api enabled) please help me resolving the error

Brobin commented 10 years ago

You need to attach Google's auto-generated client email address to the analytics account http://stackoverflow.com/questions/12837748/analytics-google-api-error-403-user-does-not-have-any-google-analytics-account

manishkvaish commented 10 years ago

many thanks Brobin..got my problem solved

kJamesy commented 9 years ago

+1

d4mk0 commented 9 years ago

Thanks for advice! @Brobin

andreiraductin commented 9 years ago

:+1:

JeremyBowyer commented 6 years ago

Now that it's a few years later, does anybody know if the e-mail address you need to add is still the long auto-generated client ID of the service account, or is it more like this format now: [YOUR SERVICE ACCOUNT NAME]@[YOUR PROJECT NAME].iam.gserviceaccount.com ? The e-mail address for my service account is not a long client ID, it's this: automatedjb@website-user-analysis.iam.gserviceaccount.com. Is this the e-mail address I need to add to the profile as a user?

aldrienht commented 6 years ago

@JeremyBowyer i'm also confused :D with the changes. Me, getting User does not have any Google Analytics account but i already have the req.credentials

dheerajpai commented 5 years ago

http://stackoverflow.com/questions/12837748/analytics-google-api-error-403-user-does-not-have-any-google-analytics-account This solves the problem

anton-kulyk commented 2 years ago

👍