mario-teacher-student-client 2.1.87-beta → 2.1.89-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1485,6 +1485,9 @@ var MainLayout = function MainLayout(_ref) {
1485
1485
  includeUtm: true
1486
1486
  }, function () {
1487
1487
  marioCore.amplitudeClient.onNewSessionStart(function (client) {
1488
+ var hostName = window.location.hostname;
1489
+ var identify = new amplitude.Identify().set('domain', hostName);
1490
+ amplitude.getInstance().identify(identify);
1488
1491
  client.logEvent("general: session start", {
1489
1492
  user_id: user.email
1490
1493
  });