Google analytics API issue with domain name

16 views
Skip to first unread message

avinash kenjale

unread,
Mar 25, 2013, 11:11:14 AM3/25/13
to google-analytics...@googlegroups.com

I have a public facing site e.g. www.mysite.domain.com which I have registered under Google console API to get API_ID & Client_ID. Which I am using in my javascript.

Now I have another site which I have to specially use for reporting purpose e.g. www.reports.domain.com. However when I use my - mywebsite API & ClientID values on reporting site I am unable to see data.

Both sites are on same machine and same instance of application - DotNetNuke framework

Can anyone tell me what more I have to do, so that I can see data on one site on to another.

Thanks,

Avinash

Jeetendra S.

unread,
Mar 28, 2013, 2:24:04 AM3/28/13
to google-analytics...@googlegroups.com
You need to add all the domains that you plan to issue API requests from to your Client ID settings in the APIs console.

Under APIs console, click on API Access Pane, then click on Edit Settings for your Client ID. There you can add more than one domain under Authorized JavaScript Origins.
Reply all
Reply to author
Forward
0 new messages