PageSourceSearch

https://bot-one.ai/assets/promotionTracking-FmHj2SRA.js

js bot-one.ai collected 2026-10-05 15:28:23 UTC 645 bytes, 1 lines download raw bytes

1import{s as c}from"./main-xaUap2mU.js";import"./react-vendor-DgCwdNFP.js";const m=()=>c.from("promotion_events"),s=new Set;async function a(n,o,t,r,i){if(!(!n||!o))try{const{error:e}=await m().insert({creative_id:n,chatbot_public_id:o,conversation_id:t||null,event_type:r,surface:i});e&&console.warn("[promotion] Error tracking event:",e)}catch(e){console.warn("[promotion] Failed to track event:",e)}}async function k(n,o,t,r="inline"){const i=`${n}:${r}:${t||"anon"}`;s.has(i)||(s.add(i),await a(n,o,t,"impression",r))}async function f(n,o,t,r="inline"){await a(n,o,t,"click",r)}export{f as trackPromotionClick,k as trackPromotionImpression};

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.