-
Notifications
You must be signed in to change notification settings - Fork 6
Should we track other conditions in google analytics? #49
Copy link
Copy link
Open
Description
From this TODO, added by @jonathanolson in 33ce29f for https://github.com/phetsims/yotta/issues/30
let loadType;
// This is the iOS app
if ( phet.chipper.queryParameters[ 'phet-app' ] ) {
loadType = 'phet-app';
}
// For the Android app, see https://github.com/phetsims/phet-android-app/issues/16
else if ( phet.chipper.queryParameters[ 'phet-android-app' ] ) {
loadType = 'phet-android-app';
}
else if ( top !== self ) {
// Checks to see if this sim is embedded - phetsims/chipper#50
loadType = 'embedded';
}
// TODO Add additional conditions for tracking hits from the installer, etc.
else {
loadType = 'default';
}We are currently distinguishing between iOS app, android app, and embedded launches. Should we add other categories here? Assigning to @jonathanolson for initial comment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels