I'm trying to configure Google Analytics Reports. I enter my domain name in the Initial Setup box and click Start Setup and authorize account. When I click to grant access to the Google Analytics Reports Drupal module, I am returned to the same Google Analytics Reports Initial setup box in Drupal. I can't seem to get past this step. I never get to enter my Google Analytics tracking ID. I have tried disabling and reenabling the Google Analytics Reports and Google Analytics API modules.

When I go to the Google Analytics Summary report, it says, "There was a problem retrieving the statistics. Please review the watchdog for details." In recent log messages it says, "Code: 403 - Error: Forbidden - Message: GDataAuthorizationExceptionUser does not have permission to access profile 0."

Help, please!

Google Chrome 18.0.1003.1 dev (all extensions disabled)
Drupal 7.10
Bartik 7.10 theme
google_analytics_reports-7.x-1.x-dev (I tried 7.x-1.0 also)
chart-7.x-1.1
oauth 7.x-3.0-alpha2

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hass’s picture

Project: Google Analytics » Google Analytics Reports
kingfisher64’s picture

I have the same problem as sskennel. Running the latest stable version.

reports > google analytics summary greets me with a "Error message: There was a problem retrieving the statistics. Please review the watchdog for details."

I click watchdog and I get the following:

Code: 403 - Error: Forbidden - Message: GDataAuthorizationExceptionUser does not have permission to access profile 0.

grendzy’s picture

Status: Active » Postponed (maintainer needs more info)

Can you upload a screenshot of admin/config/system/google-analytics-reports? It sounds like you don't have a profile selected.

sharonmeador’s picture

Status: Postponed (maintainer needs more info) » Active
FileSize
27.38 KB
23.81 KB
34.66 KB

I am having same problem and unable to set up the Google Analytics Reports module I am attaching screen shots of the analytics report configuration, what is returned when hitting Start Setup and authorize Account and my configuration for the google analytics.

sharonmeador’s picture

Problem for me was our internal firewall didn't allow access.

sashken2’s picture

Component: Code » Reports module

I have this problem too in 7.x-1.2 version. If I use 7.x-3.x version all works good.

Hitby’s picture

I couldn't get the reports module to authorise at all. In the end I disabled all the google analytic modules and then manually deleted all the google variables from the variable table in the database.

I then reactivated the modules and authorised the site through the reports module BEFORE adding the tracking code in the google analytics config page.

This seems to have done the trick and I now have access to my stats on the site and can create views etc.

As ever, back up your database first though just in case.

ascii122’s picture

I just ran into this same issue. I authorize the application and it jumps back to the config page and am not able to resolve it even removing modules and deleting google variables from the table. Watchdog says 'Code: 403 - Error: Forbidden - Message: GDatainsufficientPermissionsUser does not have sufficient permissions for this profile.'

TAAAdmin’s picture

Issue summary: View changes

i received this message when trying to configure analytics - by configure i mean add UA ID

"Fatal error: Call to undefined function token_element_validate() in /home/content/03/9770703/html/includes/form.inc on line 1410"

can someone smart decipher that for me??

Plazik’s picture

Status: Active » Closed (won't fix)

7.x-1.x version is unsupported. Try the latest 7.x-3.x-beta2 verion.