mario-core 2.9.33-beta → 2.9.35-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 +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -444,6 +444,9 @@ var useLogin = function useLogin() {
|
|
|
444
444
|
includeReferrer: true,
|
|
445
445
|
includeUtm: true
|
|
446
446
|
});
|
|
447
|
+
var hostName = window.location.hostname;
|
|
448
|
+
var identify = new amplitude.Identify().set('domain', hostName);
|
|
449
|
+
amplitude.getInstance().identify(identify);
|
|
447
450
|
amplitude.getInstance().logEvent("general: session start", {
|
|
448
451
|
user_id: data.email
|
|
449
452
|
});
|