package.utils.captureAnalyticsEvent.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neeto-commons-frontend Show documentation
Show all versions of neeto-commons-frontend Show documentation
A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.
import mixpanel from "mixpanel-browser";
export var captureAnalyticsEvent = function captureAnalyticsEvent(name) {
var properties = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return mixpanel.track(name, properties);
};
//# sourceMappingURL=captureAnalyticsEvent.js.map