@shrfe/assets 1.0.70-staging.3 → 1.0.71-staging.1
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/css/sfe-styles.css +1728 -0
- package/js/shrfe-core-umd.js +5 -3
- package/package.json +1 -1
package/js/shrfe-core-umd.js
CHANGED
|
@@ -72559,9 +72559,11 @@ MixpanelService.trackEvent = (nodeEnv, eventName, payload)=>{
|
|
|
72559
72559
|
// Analytics must never break the user flow.
|
|
72560
72560
|
}
|
|
72561
72561
|
}
|
|
72562
|
-
// Customer.io campaigns use the same events
|
|
72563
|
-
//
|
|
72564
|
-
|
|
72562
|
+
// Customer.io campaigns use the same events, but only in production so dev and
|
|
72563
|
+
// staging data don't pollute Customer.io (and only when init() got a write key).
|
|
72564
|
+
if (nodeEnv === 'production') {
|
|
72565
|
+
customerio_service.trackEvent(eventName, payload);
|
|
72566
|
+
}
|
|
72565
72567
|
return result;
|
|
72566
72568
|
};
|
|
72567
72569
|
/* export default */ var mixpanel_service = (MixpanelService);
|