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.modern.js
CHANGED
|
@@ -441,6 +441,9 @@ var useLogin = function useLogin() {
|
|
|
441
441
|
includeReferrer: true,
|
|
442
442
|
includeUtm: true
|
|
443
443
|
});
|
|
444
|
+
var hostName = window.location.hostname;
|
|
445
|
+
var identify = new amplitude.Identify().set('domain', hostName);
|
|
446
|
+
amplitude.getInstance().identify(identify);
|
|
444
447
|
amplitude.getInstance().logEvent("general: session start", {
|
|
445
448
|
user_id: data.email
|
|
446
449
|
});
|