decord/source/modules/collectibles/utils/CollectiblesPerfLogging.tsx
2026-08-05 07:35:12 +00:00

21 lines
1.1 KiB
TypeScript

// Module ID: 6943
// Function ID: 6944
// Name: CollectiblesShopPerfCheckpoint
// Dependencies: [676, 698, 2]
// Exports: trackShopPerf
// Module 6943 (CollectiblesShopPerfCheckpoint)
import { AnalyticEvents } from "ME";
const result = require("set").fileFinishedImporting("modules/collectibles/utils/CollectiblesPerfLogging.tsx");
export const CollectiblesShopPerfCheckpoint = { SHOP_MOUNTED: "shop_mounted", CATEGORIES_FETCH_STARTED: "categories_fetch_started", CATEGORIES_FETCH_COMPLETED: "categories_fetch_completed", SHOP_HOME_FETCH_STARTED: "shop_home_fetch_started", SHOP_HOME_FETCH_COMPLETED: "shop_home_fetch_completed", SHOP_RENDERED: "shop_rendered" };
export const trackShopPerf = function trackShopPerf(arg0) {
let cacheDisabled;
let checkpoint;
let sessionId;
let tab;
let unpublishedCategoriesShown;
({ sessionId, checkpoint, tab, unpublishedCategoriesShown, cacheDisabled } = arg0);
importDefault(698).track(AnalyticEvents.COLLECTIBLES_SHOP_PERF_TRACKED, { page_session_id: sessionId, checkpoint, tab, unpublished_categories_shown: unpublishedCategoriesShown, cache_disabled: cacheDisabled });
};