How about setting up multiple accounts to view reports for.. is this a possible idea any time soon? if not, i would appreciate any hints about how to create this..

Members fund testing for the Drupal project. Drupal Association Learn more


grendzy’s picture

The module only supports a single Google account, but each account can have many profiles. You don't have to be the owner of the domain; the owner just has to authorize your account. You then pass the profile_id as an option to google_analytics_api_report_data().

Ahmad Kharbat’s picture

Hi guys, i've been working on it and i developed a cool strategy to make your module support multiple google accounts. I don't know if your interested in adding extra functionality to the module, if yes.. i'd be glad to co-maintain my features in a separate module inside the module package..

raspberryman’s picture

Assigned: Unassigned » raspberryman

The module can support multiple web properties and multiple profiles within those properties. That should give you a ton of options :) Accounts, though, are one-off - one account per OAuth authentication.

What is your proposal?

drupalninja99’s picture

Component: Code » Reports module

PLEASE do share. We have this problem. There is a business case for having multiple accounts. GA limits you to 40 sites so that is a problem for some.

bennos’s picture

Version: 7.x-1.x-dev » 7.x-3.x-dev

think this a feature request for the new version 3.

Setting up multiple accounts would be great.
also would it be great to bundle the analytics oauth token on a per user basis.

I can sponsor a little bit the development off multiple accounts per user basis.
If you are interested, contact me.

stangslvr’s picture

Maybe I am missing something here, but it appears that you can link an account and then pick ONE of your web properties to display data from. I have about 20 sites that I would like to display a dashboard for that shows pageviews, visits, uniques, etc for each, but also a combined report showing a summary of all pageviews etc for all the sites on the report. Anybody else working on something like this? Anyone else interested in this functionality? I was going to start putting something together as a stand alone module with a dependency to this module.

stevenx’s picture

Status: Active » Reviewed & tested by the community

The easiest way is to ad the second analytics account to your main google account as an administrator
when I connect to my main google account I got about 10 administrator connections on clients google analytics accounts which sums up to 99 profiles

So you can already add more than 40 profiles, if you add your google account as administrator to the other analytics accounts

Plazik’s picture

Component: Reports module » API module
Assigned: raspberryman » Unassigned
Issue summary: View changes
Status: Reviewed & tested by the community » Postponed

Postponed before stable release of 7.x-3.x.

xstean’s picture

Hi, i would like to know if someone solved that idea... i have an account with almos 30 profiles and i can choose only one of them... any idea?

Plazik’s picture

Component: API module » Reports module
Status: Postponed » Active

I'm planning to add profile select in Query options in Views.

Plazik’s picture

Title: Setup multiple accounts » Setup multiple reports profiles
Issue summary: View changes
Status: Active » Needs review
7.94 KB
17.88 KB

This patch adds new option in Query options in Views. You can select another reports profile for this view.

You can also copy default reports views and change profile id in it.

Plazik’s picture

  • Plazik committed dc29a2e on 7.x-3.x
    Issue #1410906 by Plazik: Setup multiple reports profiles
Plazik’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.