Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor - use GA app tracking, allows tracking exceptions, timings, etc. #20

Open
joefiorini opened this issue Mar 29, 2014 · 3 comments
Milestone

Comments

@joefiorini
Copy link

It would be good to provide an API for tracking additional types. Specifically, GA supports timings & exceptions. It would be great if we could just call insight.trackError(error) or insight.startTimer("build");/insight.stopTimer("build");. To implement this, we would need to allow passing different sets of parameters to the providers.google method. Per #19 I'm also using t: "appview" to track commands rather than the default "pageview". This could help make that more configurable as well so that we can continue using insight without anyone else having to change their setup.

Thoughts on this?

@sindresorhus
Copy link
Owner

Yes, that would be useful :)

@rayshan
Copy link
Contributor

rayshan commented Aug 9, 2014

Hi @joefiorini, I believe you're looking for screenview, not appview, per docs.

The weird thing is that GA web tracking dashboards has a timing dashboard but not an exception dashboard. GA app tracking dashboards has exception but not timing. The only way to tell for sure is to send the raw data to GA anyways, then use Reporting API to pull the raw data, see if it's recorded. I plan to try this out at some point.

Scratch that, it's called "App Speed".

screen shot 2014-08-08 at 11 01 38 pm

So appview is what we want to refactor to, which allows these 2 features plus it makes more sense semantically. I'm borrowing this issue to track it.

@rayshan rayshan changed the title Allow tracking exceptions & timings Refactor - use GA app tracking, allows tracking exceptions, timings, etc. Aug 9, 2014
@rayshan rayshan added this to the 1.0 milestone Aug 14, 2014
@sindresorhus
Copy link
Owner

For anyone looking; PR welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants