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

sonarbug - Record more tracking data on the 'connect' tracking call #104

Open
brianneisler opened this issue May 8, 2013 · 2 comments
Open

Comments

@brianneisler
Copy link
Member

Track the following values

document.referrer
navigator.appCodeName
navigator.appName
navigator.appVersion
navigator.buildID
navigator.cookieEnabled
navigator.doNotTrack
navigator.language
navigator.oscpu
navigator.platform
navigator.product
navigator.productSub
navigator.vendor
navigator.vendorSub

Bump the tracking version up a number with this change.

Test Plan:

  • Go to Sonarbug repo
  • Go to correct branch of Sonarbug ($ git checkout V.0.0.5)
  • Update Sonarbug repo ($ git pull --rebase)
  • Rebuild Splash project ($ buildbug)
  • Reinstall Splash project
  • cd into installed splash directory
  • Start Splash project ($ npm start)
  • open http://localhost:8000 in browser
  • open developer tools
  • Expectation: You should see something like the following output in the console
    • SonarBugClient tracklog: eventName: connect , timestamp: Thu May 09 2013 09:51:19 GMT+0900 (KST) , version: 0.0.5 , location: http://localhost:8000/ , data:
      • Expectation "eventName" is "connect"
      • Expectation "version" is "0.0.5"
      • click on the Object after "data:"
        • Expectation: It should contain all of the properties and corresponding values listed above
@ghost ghost assigned sungchoi May 8, 2013
sungchoi referenced this issue in airbug/sonarbug May 8, 2013
…arBug server on connect

Bumps up SonarBugClient version number to V.0.0.5

- [airbug/airbug#104] sonarbug - Record more tracking data on the 'connect' tracking call
@ghost ghost assigned brianneisler May 8, 2013
@ghost ghost assigned sungchoi May 8, 2013
sungchoi referenced this issue in airbug/sonarbug May 9, 2013
Removes unnecessary console log

[airbug/airbug#104] sonarbug - Record more tracking data on the 'connect' tracking call
@ghost ghost assigned trpote May 9, 2013
@sungchoi
Copy link
Contributor

sungchoi commented May 9, 2013

@bneisler test plan completed. sending this over to you, @trpote

@trpote
Copy link

trpote commented May 23, 2013

Test NOT successful Firefox v 21.0, Safari 6.0.4, Chrome v. 27.0.1453.93, Opera 12.15,

Event name "Connect" is correct
Version "0.0.4" is incorrect

https://www.evernote.com/shard/s23/sh/1ecaf739-cd5d-4e0f-8a04-8d8b125303e7/c18611b970f05444b780ff6720aa3f5b

[18:50:33.764] SonarBugClient tracklog: eventName: connect , timestamp: Thu May 23 2013 18:50:33 GMT-0400 (EDT) , version: 0.0.4 , location: http://localhost:8000/ , data: null
[18:50:33.765] SonarBugClient tracklog: eventName: appLoad , timestamp: Thu May 23 2013 18:50:33 GMT-0400 (EDT) , version: 0.0.4 , location: http://localhost:8000/ , data: null
[18:50:33.765] SonarBugClient tracklog: eventName: splitTest , timestamp: Thu May 23 2013 18:50:33 GMT-0400 (EDT) , version: 0.0.4 , location: http://localhost:8000/ , data: ({testName:"alternate-tag-line", testGroup:"control"})
[18:50:33.765] SonarBugClient tracklog: eventName: pageView , timestamp: Thu May 23 2013 18:50:33 GMT-0400 (EDT) , version: 0.0.4 , location: http://localhost:8000/ , data: ({pageId:"explainerPage"})
[18:50:33.765] SonarBugClient configured

@ghost ghost assigned brianneisler May 23, 2013
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