using GA for delivering stats to web app users

42 views
Skip to first unread message

spider100

unread,
Feb 6, 2012, 3:24:23 PM2/6/12
to google-analytics-api - GA Data Export API
Hi all.
I am building a sort of eCommerce store. My users will get a domain
like store.mystores.com.]
I want to give them analytics for their store - visitors, conversions,
sales (eCommerce) etc.

Makes sense that i could just have them enter their own GA tracking id
and post the data to their account.

But i would rather my app has a control/dashboard panel of it's own
that gives them some relevant at a glance facts about their store.

Can i use GA to do this. Can i safely use one account. pull data using
the data api into my app and feed it into some charts etc.

Are their any usage issues. Will this work. What would be the best
approach. Can anyone give me some help/guidance on doing this.

Thanks

Martin

Nick

unread,
Feb 6, 2012, 7:56:44 PM2/6/12
to google-analytics-api - GA Data Export API
Hi,

You can try to do this for a few accounts, but you will probably face
some issues if you have larger accounts.

Ideally each client would have their own GA account, and each client
would agree to the GA Terms Of Service. Generally your application
should provide a configuration option for a client to supply their web
property id and your templating system would do all the work of
injecting this id + the tracking code across all the pages.

This is what we do for YouTube, Blogger, etc...

-Nick

spider100

unread,
Feb 7, 2012, 6:56:58 AM2/7/12
to google-analytics-api - GA Data Export API
OK - we hope to have thousands of stores so is it an acceptable
solution to request the user enters a GA tracking id to get stats in
our app.
Further can you give me some pointers on the following / suggestions

1. i note that in tos we are not allowed to send data that describes a
user. We are using the GA account to track eCommerce sales. If we want
to relate the tracking to logins can we store a number. The number is
not unique. It would be 1-10 as each store is only allowed 10 user
logins. This number 1-10 would just tell us what login slot was used
1-10. Is this allowed.
2. Product data - i assume their are no issues storing plu, product
id, price etc
3. Payment again - storing payment methods - (prob use an event)
4. Physical locations. Can we store Town, Country data
5. We would like to pull the data into our app. We are using google
app engine - if we want to import data into our apps dashboard so the
user can see data from their ga tracking code. what is the best
practice. We don't want them to constantly have to go through oauth.
Just auth once and then it works.

Appreciate any advice on this thank you.
Martin
Reply all
Reply to author
Forward
0 new messages