PageSourceSearch

https://novaco.ai/assets/AnalyticsEvents-8IADByrl.js

js novaco.ai collected 2026-10-05 12:44:36 UTC 4,987 bytes, 1 lines download raw bytes

1import{a as d,u as m,j as e,S as x,N as p,L as h}from"./index-Be_2bHJP.js";import{F as u}from"./Footer-DydoStv_.js";const b=["NOT_OPENED","CHAT_BUBBLE","EMBED_WITHOUT_OPENING_PHRASE","EMBED_WITH_OPENING_PHRASE","FULLSCREEN_CHAT","FULLSCREEN_CHAT_FROM_INTRODUCTION_QUICKSTART","FULLSCREEN_CHAT_FROM_INTRODUCTION_CONVERSATION","CTA_WITH_CAR_ID","CTA_WITHOUT_CAR_ID"],y=["showroom","workshop","trade-in","contact-request","test-drive","tire-exchange (deprecated)"],_=["autochat_chat_first_user_interaction","autochat_lead_created","autochat_i_am_interested","autochat_question_answered_ai","autochat_question_answered_ai_vdp","autochat_flow_started","autochat_flow_successful","autochat_opened_on_load","autochat_chat_opened","autochat_chat_closed"],N=["session_id","chat_type","appointment_type","chatSessionId (deprecated)"],o=["sessionId","chatType","appointmentType","chatSessionId"],f=()=>{const i=d(),{t}=m();return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(x,{title:t("analyticsEvents.seoTitle"),description:t("analyticsEvents.seoDescription"),path:"/analytics-events"}),e.jsx(p,{}),e.jsx("section",{className:"bg-hero-gradient pt-32 pb-16 px-6",children:e.jsxs("div",{className:"container mx-auto max-w-3xl",children:[e.jsx("h1",{className:"font-display text-4xl sm:text-5xl font-bold text-primary-foreground",children:t("analyticsEvents.title")}),e.jsx("p",{className:"mt-4 text-primary-foreground/70 text-lg",children:t("analyticsEvents.subtitle")})]})}),e.jsxs("div",{className:"container mx-auto max-w-4xl px-6 py-16 space-y-16",children:[e.jsxs("section",{children:[e.jsx("h2",{className:"font-display text-2xl font-bold mb-2",children:t("analyticsEvents.eventsHeading")}),e.jsx("p",{className:"text-muted-foreground mb-6",children:t("analyticsEvents.eventsIntro")}),e.jsx("div",{className:"space-y-4",children:_.map(s=>{const n=t(`analyticsEvents.events.${s}.bullets`,{returnObjects:!0}),l=Array.isArray(n)?n:[],c=s==="autochat_chat_first_user_interaction"?[{label:t("analyticsEvents.labels.url")},{label:t("analyticsEvents.labels.chatOpenType"),items:b}]:s==="autochat_lead_created"?[{label:t("analyticsEvents.labels.url")},{label:t("analyticsEvents.labels.chatType"),items:y}]:[];return e.jsxs("div",{className:"glass-card rounded-2xl p-6",children:[e.jsx("code",{className:"text-accent font-mono text-sm break-all",children:s}),e.jsx("p",{className:"text-sm text-muted-foreground mt-3",children:t(`analyticsEvents.events.${s}.when`)}),l.length>0&&e.jsx("ul",{className:"list-disc list-inside text-sm text-muted-foreground mt-2 space-y-1",children:l.map(a=>e.jsx("li",{children:a},a))}),c.length>0&&e.jsxs("div",{className:"border-t border-border/30 mt-4 pt-4",children:[e.jsx("h3",{className:"font-display font-bold text-sm mb-2",children:t("analyticsEvents.dataShared")}),e.jsx("ul",{className:"list-disc list-inside text-sm text-muted-foreground space-y-1",children:c.map(a=>e.jsxs("li",{children:[a.label,a.items&&e.jsx("ul",{className:"list-none mt-2 mb-2 ml-5 flex flex-wrap gap-2",children:a.items.map(r=>e.jsx("li",{className:"font-mono text-xs rounded-md border border-border/30 bg-background/60 px-2 py-1",children:r},r))})]},a.label))})]})]},s)})})]}),e.jsxs("section",{children:[e.jsx("h2",{className:"font-display text-2xl font-bold mb-2",children:t("analyticsEvents.parametersHeading")}),e.jsx("p",{className:"text-muted-foreground mb-6",children:t("analyticsEvents.parametersIntro")}),e.jsx("div",{className:"glass-card rounded-2xl p-6 overflow-x-auto",children:e.jsxs("table",{className:"w-full text-sm text-left",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-border/30",children:[e.jsx("th",{className:"pb-3 pr-4 font-display font-bold",children:t("analyticsEvents.table.variable")}),e.jsx("th",{className:"pb-3 pr-4 font-display font-bold",children:t("analyticsEvents.table.events")}),e.jsx("th",{className:"pb-3 font-display font-bold",children:t("analyticsEvents.table.description")})]})}),e.jsx("tbody",{className:"text-muted-foreground",children:N.map((s,n)=>e.jsxs("tr",{className:"border-b border-border/20 last:border-0",children:[e.jsx("td",{className:"py-3 pr-4 font-mono text-accent text-xs align-top whitespace-nowrap",children:s}),e.jsx("td",{className:"py-3 pr-4 align-top",children:t(`analyticsEvents.parameters.${o[n]}.events`)}),e.jsx("td",{className:"py-3 align-top",children:t(`analyticsEvents.parameters.${o[n]}.description`)})]},s))})]})})]}),e.jsxs("section",{className:"glass-card rounded-2xl p-6",children:[e.jsx("h2",{className:"font-display text-xl font-bold mb-2",children:t("analyticsEvents.cta.title")}),e.jsx("p",{className:"text-sm text-muted-foreground mb-4",children:t("analyticsEvents.cta.body")}),e.jsx(h,{to:i("/analytics-setup"),className:"inline-flex items-center rounded-lg bg-accent px-5 py-2.5 text-sm font-medium text-accent-foreground hover:opacity-90 transition-opacity",children:t("analyticsEvents.cta.button")})]})]}),e.jsx(u,{})]})};export{f as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.