Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

Improve Google Analytics #310

Merged
merged 3 commits into from
Mar 9, 2015
Merged

Conversation

bbodenmiller
Copy link
Contributor

Update to latest Google Analytics SDK.

Improve region selection analytics:

Move app settings analytics to appDidBecomeActive:

  • Improves accuracy of app settings analytics as before Google Analytics would store events to be sent during the next session but if the next session did not occur on the same day Google Analytics would throw out the events.

@bbodenmiller bbodenmiller changed the title Improve region selection analytics Improve analytics May 23, 2014
@bbodenmiller bbodenmiller changed the title Improve analytics WIP: Improve analytics May 26, 2014
@caitbonnar
Copy link
Contributor

👍

@caitbonnar
Copy link
Contributor

@bbodenmiller Still interested in this PR?

@bbodenmiller
Copy link
Contributor Author

Yes but I'm without a development environment right now. Hope to get that addressed in the next week.

@aaronbrethorst
Copy link
Member

@bbodenmiller any updates?

@bbodenmiller
Copy link
Contributor Author

@aaronbrethorst currently stuck on #259 (comment). Would like to get that fixed but if no one has any ideas I'll try to get around it so I can work on this PR.

@barbeau
Copy link
Member

barbeau commented Mar 3, 2015

It looks like this PR would fix #376 that we noticed on iOS when testing OBA Android analytics.

* old implementation recorded set event many more times than it actually
occurred
* new implementation records only when user selects region
* if region changes automatically on startup that is recorded in a
separate already existing event

Conflicts:
	view_controllers/OBARegionListViewController.m
improves accuracy of app settings analytics as before Google Analytics
would store events to be sent during the next session but if the next
session did not occur on the same day Google Analytics would throw out
the events.
@bbodenmiller bbodenmiller changed the title WIP: Improve analytics Improve Google Analytics Mar 9, 2015
@bbodenmiller
Copy link
Contributor Author

@aaronbrethorst ready for review. This improves iOS analytics but does not address the comments in OneBusAway/onebusaway#5 which are still ongoing and I will address in a seperate PR.

@aaronbrethorst
Copy link
Member

Looks good!

aaronbrethorst added a commit that referenced this pull request Mar 9, 2015
@aaronbrethorst aaronbrethorst merged commit c0cf2c4 into OneBusAway:develop Mar 9, 2015
@bbodenmiller bbodenmiller deleted the ga branch March 9, 2015 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Google Analytics - Changes in region are captured in applicationWillResignActive
4 participants