feat: Clean up onboarding experiment (#6873)
* feat: Clean up onboarding experiment * chore: clean up
This commit is contained in:
@@ -13,7 +13,6 @@ import { useWorkflowsStore } from '@/stores/workflows.store';
|
||||
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
|
||||
|
||||
const EVENTS = {
|
||||
SHOW_CHECKLIST: 'Show checklist',
|
||||
ADDED_MANUAL_TRIGGER: 'User added manual trigger',
|
||||
ADDED_SCHEDULE_TRIGGER: 'User added schedule trigger',
|
||||
ADDED_DATA_TRIGGER: 'User added data trigger',
|
||||
@@ -35,15 +34,6 @@ export const useSegment = defineStore('segment', () => {
|
||||
}
|
||||
};
|
||||
|
||||
const showAppCuesChecklist = () => {
|
||||
const isInIframe = window.location !== window.parent.location;
|
||||
if (isInIframe) {
|
||||
return;
|
||||
}
|
||||
|
||||
track(EVENTS.SHOW_CHECKLIST);
|
||||
};
|
||||
|
||||
const trackAddedTrigger = (nodeTypeName: string) => {
|
||||
if (!nodeTypesStore.isTriggerNode(nodeTypeName)) {
|
||||
return;
|
||||
@@ -123,7 +113,6 @@ export const useSegment = defineStore('segment', () => {
|
||||
};
|
||||
|
||||
return {
|
||||
showAppCuesChecklist,
|
||||
track,
|
||||
trackAddedTrigger,
|
||||
trackSuccessfulWorkflowExecution,
|
||||
|
||||
Reference in New Issue
Block a user