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

Update GA lib, remove AdSupport.framework default, support UserId & debugging #22

Merged
merged 4 commits into from May 19, 2014

Conversation

Projects
None yet
3 participants
@stevebartholomew
Contributor

stevebartholomew commented May 13, 2014

Updates

Additions

  • Added analytics#debugMode to switch on vebose logging in analytics
  • Added analytics#setUserId to support analytics UserId

These are supported by iOS and Android. I have added functions that 'not implemented' log messages for Lavaca.

Screenshots

Android log showing a GA collect request including UserId:
screen shot 2014-05-13 at 14 19 37

iOS log showing a GA collect request including UserId:
ga-cordova-ios-verbose-logging

GA report screen showing real time events as reported by the device:
ga-cordova-report

@danwilson

This comment has been minimized.

Show comment
Hide comment
@danwilson

danwilson May 14, 2014

Owner

Thanks for the details and the PR! I will take a look at this as soon as possible (likely later today) and merge it in.

Owner

danwilson commented May 14, 2014

Thanks for the details and the PR! I will take a look at this as soon as possible (likely later today) and merge it in.

danwilson added a commit that referenced this pull request May 19, 2014

Merge pull request #22 from stevebartholomew/master
Update GA lib, remove AdSupport.framework default, support UserId & debugging

@danwilson danwilson merged commit 9eb2bd6 into danwilson:master May 19, 2014

@FabioKB

This comment has been minimized.

Show comment
Hide comment
@FabioKB

FabioKB May 26, 2014

@danwilson great plugin mate. Is the setUserID method working (testing on droid)? Struggling to see updates in my GA dashboard pertaining to User Ids being logged using this method?...

Thanks!

FabioKB commented May 26, 2014

@danwilson great plugin mate. Is the setUserID method working (testing on droid)? Struggling to see updates in my GA dashboard pertaining to User Ids being logged using this method?...

Thanks!

@stevebartholomew

This comment has been minimized.

Show comment
Hide comment
@stevebartholomew

stevebartholomew May 26, 2014

Contributor

Can you try turning on debug mode (analytics.debugMode()) and check the
console to see if uid is passed in the parameters?

Contributor

stevebartholomew commented May 26, 2014

Can you try turning on debug mode (analytics.debugMode()) and check the
console to see if uid is passed in the parameters?

@FabioKB

This comment has been minimized.

Show comment
Hide comment
@FabioKB

FabioKB May 26, 2014

Hmmmm - uid is indeed passed. Ok, might be the case that it's a) either taking time to reflect or b) won't show analytics as app isn't typically published (in dev) yet or c) I just don't know how to use the new GA dashboard properly yet!

Thanks anyway Steve

FabioKB commented May 26, 2014

Hmmmm - uid is indeed passed. Ok, might be the case that it's a) either taking time to reflect or b) won't show analytics as app isn't typically published (in dev) yet or c) I just don't know how to use the new GA dashboard properly yet!

Thanks anyway Steve

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