Skip to content

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

@brianneisler

Description

@brianneisler

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions