Sidecar Logo

templates/draft_profiling_with_enablement.js

Created: 2025-04-23T20:53:12.000Z Modified: 2025-10-23T16:18:07.023Z

Configuration

/**
 * Sidecar Config for templates/draft_profiling_with_enablement.js
 */
module.exports = {
  title: "draft_profiling_with_enablement.js",
  description: "Auto-generated draft",
  created: "2025-04-23T20:53:12.000Z",
  modified: "2025-10-23T16:18:07.023Z",
};

Route Flow Map

--- title: "Route Flow: ssutil /src/templates/draft_profiling_with_enablement.js " --- flowchart TD subgraph GET ["GET"] hono_get_utm_source["GET utm_source"] style hono_get_utm_source fill:#5E377B,color:#fff,stroke:#B4976A hono_get_utm_medium["GET utm_medium"] style hono_get_utm_medium fill:#5E377B,color:#fff,stroke:#B4976A hono_get_utm_campaign["GET utm_campaign"] style hono_get_utm_campaign fill:#5E377B,color:#fff,stroke:#B4976A hono_get_xSegment["GET xSegment"] style hono_get_xSegment fill:#5E377B,color:#fff,stroke:#B4976A end linkStyle default stroke:#c2a35d,stroke-width:2px,color:#fff classDef default color:#fff

AST Code Structure

--- title: "AST Structure: ssutil /src/templates/draft_profiling_with_enablement.js " --- %%{init: { 'flowchart': { 'nodeSpacing': 20, 'rankSpacing': 30 }, 'themeVariables': { 'fontSize': '11px' } } }%% graph LR n0["SF"] n17["FD: isExternalReferrer"] n0 --> n17 subgraph sub26 ["Safe Boundary"] end n58["FD: loadjQuery"] n0 --> n58 n159["FD: generateVisitorId"] n0 --> n159 n216["FD: getVisitorId"] n0 --> n216 n265["FD: setVisitorIdCookie"] n0 --> n265 n309["FD: getUtmParams"] n0 --> n309 n439["FD: getPageInfo"] n0 --> n439 n457["FD: getReferrer"] n0 --> n457 n466["FD: getXSegment"] n0 --> n466 n487["FD: handleKillSwitch"] n0 --> n487 n554["FD: incrementVisitCount"] n0 --> n554 n606["FD: updateContent"] n0 --> n606 n700["FD: sendEvent"] n0 --> n700 n942["FD: loadTrySeraTracking"] n0 --> n942 n1219["FD: initProfiling"] n0 --> n1219 style n0 fill:#5E377B,color:#fff,stroke:#B4976A linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
CE CallExpressionFD FunctionDeclarationSF SourceFileTS TryStatement