0

I have a couple of small packaged apps on the Chrome Web Store (that's packaged, not hosted, so I'm not hosting anything myself). I was wondering whether I can still use Google Analytics, and how to test whether it's working before publishing the app.

I'm guessing the answer might be no, because their FAQ just says this:

"Can I use Google Analytics? Yes. Hosted apps use Google Analytics just like any other website does. For help on using analytics in packaged apps (and extensions), see this tutorial."

Anyone know if there's a way around this?

Resolution

Followed the advice from the answer, but with a couple of small differences. First, I did not modify in any way the code that I copied from GA. Second, I pasted my GA ID in the app publishing form in my developer dashboard (go to developer dashboard, click edit for the app in question, then find the GA field).

2 Answers 2

1

I hope this might help: http://code.google.com/chrome/extensions/tut_analytics.html

2
  • I saw that, I think it only applies to hosted apps. I could be wrong though.
    – AlexMA
    Apr 8, 2012 at 22:24
  • As far as i know it doesn't, you can use it for non hosted apps as well. Why dont you give it a try? :)
    – Scriptor
    Apr 8, 2012 at 22:35
0

I recently submitted an app and found that there is a text field for adding your Google Analytics code.

Screenshot

2
  • Yes, this seems to be the new way of doing things.
    – AlexMA
    Dec 16, 2012 at 16:51
  • 2
    This fields adds analytics to your webstore page but not to your app.
    – HaNdTriX
    Jun 13, 2016 at 15:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.