Skip to content

Commit

Permalink
Behavior when ?yotta=false, see #65
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Mar 18, 2024
1 parent 911b5b4 commit 810a7f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/analytics/google-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
*/

( function() {

// If yotta has been turned off by query parameter, don't send any messages.
if ( !phet.chipper.queryParameters.yotta ) {
return;
}

assert && assert( window.phet && phet.chipper, 'We will require multiple things from the chipper preload namespace' );
assert && assert( !!phet.chipper.brand, 'A brand is required, since some messages depend on the brand' );
Expand Down

0 comments on commit 810a7f3

Please sign in to comment.