1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5452],{69174:(e,t,a)=>{a.d(t,{i:()=>s});var l=a(12115);function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2e3,[t,a]=(0,l.useState)(!1),s=(0,l.useRef)(null);return{copy:(0,l.useCallback)(async t=>{try{let l=!1;if(navigator.clipboard&&navigator.clipboard.writeText&&(l=await navigator.clipboard.writeText(t).then(()=>!0,()=>!1)),!l){let e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select();let a=document.execCommand("copy");if(document.body.removeChild(e),!a)return!1}return a(!0),s.current&&clearTimeout(s.current),s.current=setTimeout(()=>{a(!1),s.current=null},e),!0}catch{return!1}},[e]),copied:t}}},85452:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var l=a(95155),s=a(12115),r=a(46339),n=a(69174);function i(e){return e.trim().toLowerCase().replace(/\s*\/\s*/g,"_").replace(/\s+/g,"_")}let o=(e,t)=>({l:e,v:t??i(e)}),c=[o("Meta"),o("Google"),o("TikTok"),o("Kakao"),o("Naver"),o("Toss"),o("ë¹ê·¼","danggeun"),o("Instagram"),o("Facebook"),o("YouTube"),o("Criteo"),o("Mobon"),o("Twitter / X","x"),o("LinkedIn"),o("Pinterest"),o("Snapchat"),o("Reddit"),o("Threads"),o("ì¹´ì¹´ì¤ì¤í 리","kakaostory"),o("LINE"),o("BAND"),o("Telegram"),o("Taboola"),o("Outbrain"),o("Dable"),o("ì¿ í¡","coupang"),o("배민","baemin"),o("ì§ê·¸ì¬ê·¸","zigzag"),o("무ì ì¬","musinsa"),o("ì¤ëìì§","ohouse"),o("Amazon"),o("Daum"),o("Bing"),o("Yahoo"),o("ZUM"),o("ë´ì¤ë í°","newsletter"),o("Mailchimp"),o("Stibee"),o("Braze"),o("ë¸ë¡ê·¸","blog"),o("ì¹´í","cafe"),o("문ì","sms"),o("QR ì½ë","qr"),o("ì¤íë¼ì¸","offline"),o("Direct")],m=[o("Meta Ads"),o("Google Ads"),o("SA360"),o("DV360"),o("CM360"),o("TikTok Ads"),o("ì¹´ì¹´ì¤ ëª¨ë¨¼í¸","kakao_moment"),o("ì¹´ì¹´ì¤ í¤ìë","kakao_keyword"),o("ë¤ì´ë² ê²ìê´ê³ ","naver_sa"),o("ë¤ì´ë² ë¸ëëê²ì","naver_brand_search"),o("ë¤ì´ë² GFA","naver_gfa"),o("Snapchat Ads"),o("LinkedIn Ads"),o("Pinterest Ads"),o("X Ads"),o("Criteo"),o("Mobon"),o("Taboola"),o("Outbrain"),o("Dable"),o("Mailchimp"),o("Stibee"),o("Braze"),o("ìë ì§í","manual")],u=[{label:"미ëì´",items:[o("íì´ë","paid"),o("ì¨ë","owned"),o("ì¸ë","earned"),o("ë¸ëë í¤ìë","brand_keyword")]},{label:"ì±ë",items:[o("ìì
미ëì´","social"),o("ê²ììì§","search"),o("ì¼í","shopping"),o("ì´ë©ì¼","email"),o("문ì","sms"),o("í¸ì","push"),o("ìë¦¼í¡ í¸ì","alimtalk"),o("ì¹êµ¬í¡ í¸ì","chingutalk"),o("ì í´","affiliate"),o("ì¸í루ì¸ì","influencer"),o("ë í¼ë´","referral"),o("QRì½ë","qr"),o("ì¤íë¼ì¸","offline")]}],d=[{label:"íê²",items:[o("ì ê· ë°êµ´","prospecting"),o("리íê²í
","retargeting"),o("기존 ê³ ê°","existing_customer"),o("íí¼ë","full_funnel"),o("ìì","none")]},{label:"목ì ",items:[o("구매 ì í","conversion"),o("í¸ëí½","traffic"),o("ë¸ëë ì¸ì§","awareness"),o("ëë¬","reach"),o("ëìì ì¡°í","video_view"),o("ì°¸ì¬","engagement"),o("리ë ìì§","lead_gen"),o("ì± ì¤ì¹","app_install"),o("ì± ì´ë²¤í¸","app_event")]}],x=[{label:"미ëì´",items:[o("ìì","video"),o("ì´ë¯¸ì§","image"),o("í¼í©","mixed"),o("í
ì¤í¸","text"),o("ì¤ëì¤","audio")]},{label:"íí",items:[o("ì±ê¸","single"),o("ìºë¬ì
","carousel"),o("컬ë ì
","collection"),o("ì¬ë¼ì´ëì¼","slideshow"),o("ë°ìí","responsive"),o("ë¤ì´ë믹","dynamic"),o("리ì¹ë¯¸ëì´","rich_media"),o("HTML5"),o("íë ì´ì´ë¸","playable")]}],p=[o("ì ì²´",""),o("ë¨ì±","male"),o("ì¬ì±","female")],g=["ì ì²´","10","20","30","40","50","60"];function h(e){let{items:t,value:a,onPick:s,label:r}=e;return(0,l.jsxs)("div",{className:"mt-2 flex gap-2",children:[r&&(0,l.jsx)("span",{className:"mt-1 w-10 shrink-0 text-[11px] text-gray-500",children:r}),(0,l.jsx)("div",{className:"flex flex-wrap gap-1.5",children:t.map(e=>{let t=a===e.v&&""!==e.v;return(0,l.jsx)("button",{type:"button",onClick:()=>s(t?"":e.v),className:`rounded-full px-2.5 py-1.5 text-xs font-medium transition ${t?"bg-accent text-white":"bg-gray-50 text-gray-600 hover:bg-gray-100"}`,children:e.l},e.l)})})]})}let b="mt-1 w-full rounded-lg border border-gray-200 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-accent",v="text-[13px] text-gray-500";function j(){return(0,l.jsx)("span",{className:"ml-0.5 text-red-400",title:"íì í목",children:"*"})}function f(e){let{text:t}=e;return(0,l.jsxs)("span",{className:"group relative ml-1 inline-flex align-middle p-2 -m-2",tabIndex:0,role:"button","aria-label":"ì¤ëª
보기",children:[(0,l.jsx)("span",{className:"flex h-3.5 w-3.5 cursor-help items-center justify-center rounded-full bg-gray-200 text-[9px] font-semibold text-gray-500",children:"?"}),(0,l.jsx)("span",{className:"pointer-events-none invisible absolute bottom-full left-1/2 z-10 mb-1.5 w-64 -translate-x-1/2 roun
1ded-md bg-warm-800 px-2.5 py-1.5 text-xs font-normal leading-relaxed text-white opacity-0 transition group-hover:visible group-hover:opacity-100 group-focus-within:visible group-focus-within:opacity-100",children:t})]})}function _(){let[e,t]=(0,s.useState)(""),[a,o]=(0,s.useState)(""),[_,y]=(0,s.useState)(""),[N,k]=(0,s.useState)(""),[w,C]=(0,s.useState)(""),[S,T]=(0,s.useState)(""),[A,M]=(0,s.useState)(""),[F,L]=(0,s.useState)(""),[R,z]=(0,s.useState)(""),[P,D]=(0,s.useState)(""),[U,B]=(0,s.useState)("targeting"),[I,$]=(0,s.useState)(""),[E,G]=(0,s.useState)(""),[q,Z]=(0,s.useState)("ì ì²´"),[O,Q]=(0,s.useState)("ì ì²´"),[X,Y]=(0,s.useState)(""),[H,K]=(0,s.useState)(""),{copy:V,copied:J}=(0,n.i)(1e3),W=(0,s.useMemo)(()=>"keyword"===U?i(I):[E,[q,O].filter(e=>"ì ì²´"!==e).join("_"),i(X),i(H)].filter(Boolean).join("_"),[U,I,E,q,O,X,H]),ee=(0,s.useMemo)(()=>[N,w].map(i).filter(Boolean).join("|"),[N,w]),et=(0,s.useMemo)(()=>{let t=[];return e.trim()||t.push("URL"),a.trim()||t.push("ìì¤"),_.trim()||t.push("매체"),ee||t.push("ìº íì¸ ì´ë¦"),t},[e,a,_,ee]),{result:ea,error:el}=(0,s.useMemo)(()=>{let t=e.trim();if(!t||!a.trim()||!_.trim()||!ee)return{result:null,error:null};let l=/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(t)?t:`https://${t}`;try{let e=new URL(l);for(let[t,l]of[["utm_source",i(a)],["utm_source_platform",i(S)],["utm_medium",i(_)],["utm_marketing_tactic",i(A)],["utm_campaign",ee],["utm_id",i(R)],["utm_term",W],["utm_creative_format",i(F)],["utm_content",i(P)]])l&&e.searchParams.set(t,l);return{result:e.toString(),error:null}}catch{return{result:null,error:"URL íìì´ ì¬ë°ë¥´ì§ ììµëë¤. 주ì를 íì¸í´ 주ì¸ì."}}},[e,a,S,_,A,ee,R,W,F,P]);return(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{className:"w-full rounded-2xl bg-white p-6 shadow-sm sm:p-8",children:[(0,l.jsxs)("div",{className:"grid gap-x-12 gap-y-5 md:grid-cols-2 md:items-start",children:[(0,l.jsxs)("div",{className:"md:col-span-2",children:[(0,l.jsxs)("label",{htmlFor:"utm-url",className:v,children:["URL",(0,l.jsx)(j,{})]}),(0,l.jsx)(f,{text:"UTMì ë¶ì¼ ì본 íì´ì§ 주ì. íë¡í ì½ì´ ìì¼ë©´ https://ê° ìëì¼ë¡ ë¶ê³ , 기존 쿼리 íë¼ë¯¸í°ë ì ì§ë©ëë¤."}),(0,l.jsx)("input",{id:"utm-url",type:"text",value:e,onChange:e=>t(e.target.value),placeholder:"example.com/landing",className:b})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{htmlFor:"utm-source",className:v,children:["ìì¤ (utm_source)",(0,l.jsx)(j,{})]}),(0,l.jsx)(f,{text:"í¸ëí½ì´ ììë ê³³(ì´ëì ìëê°). ì: google, meta, newsletter"}),(0,l.jsx)("input",{id:"utm-source",type:"text",value:a,onChange:e=>o(e.target.value),placeholder:"google, meta",className:b}),(0,l.jsx)(h,{items:c,value:a,onPick:o})]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{htmlFor:"utm-medium",className:v,children:["매체 (utm_medium)",(0,l.jsx)(j,{})]}),(0,l.jsx)(f,{text:"ì ì
ë°©ì\xb7ì±ë ì í(ì´ë»ê² ìëê°). ì: paid_social, email, cpc"}),(0,l.jsx)("input",{id:"utm-medium",type:"text",value:_,onChange:e=>y(e.target.value),placeholder:"paid_social",className:b}),u.map(e=>(0,l.jsx)(h,{label:e.label,items:e.items,value:_,onPick:y},e.label))]}),(0,l.jsxs)("div",{children:[(0,l.jsxs)("label",{htmlFor:"utm-campaign-name",className:v,children:["ìº íì¸ (utm_campaign)",(0,l.jsx)(j,{})]}),(0,l.jsx)(f,{text:"ìº íì¸ ì´ë¦. ì¸í¸ëª
ì í¨ê» ì
ë ¥íë©´ ìº íì¸ëª
|ì¸í¸ëª
íìì¼ë¡ í©ì³ì§ëë¤."}),(0,l.jsx)("input",{id:"utm-campaign-name",type:"text",value:N,onChange:e=>k(e.target.value),placeholder:"ìº íì¸ëª
(ì: hotseller_2025q1)",className:b}),(0,l.jsx)("input",{type:"text","aria-label":"ì¸í¸ëª
",value:w,onChange:e=>C(e.target.value),placeholder:"ì¸í¸ëª
(ì í â ì: broad_25_34, ìº íì¸ëª
|ì¸í¸ëª
ì¼ë¡ í©ì³ì§)",className:b})]}),(0,l.jsxs)("div",{className:"grid gap-x-12 gap-y-5 md:col-span-2 md:grid-cols-2 md:items-start",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{htmlFor:"utm-source-platform",className:v,children:"íë«í¼ (utm_source_platform)"}),(0,l.jsx)(f,{text:"ê´ê³ 를 ì§í\xb7구매í íë«í¼. ì: google_ads, meta_ads, naver_sa"}),(0,l.jsx)("input",{id:"utm-source-platform",type:"text",value:S,onChange:e=>T(e.target.value),placeholder:"google_ads, meta_ads",className:b}),(0,l.jsx)(h,{items:m,value:S,onPick:T})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{htmlFor:"utm-tactic",className:v,children:"ì ëµ (utm_marketing_tactic)"}),(0,l.jsx)(f,{text:"íê²í
ì ëµê³¼ ìº íì¸ ëª©ì 구ë¶. ì: retargeting_conversion, prospecting_traffic"}),(0,l.jsx)("input",{id:"utm-tactic",type:"text",value:A,onChange:e=>M(e.target.value),placeholder:"retargeting_purchase",className:b}),d.map(e=>(0,l.jsx)(h,{label:e.label,items:e.items,value:A,onPick:M},e.label))]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:v,children:"ê²ìì´/íê²í
(utm_term)"}),(0,l.jsx)(f,{text:"ê²ì í¤ìë ëë íê²í
ì¡°í©. íê²í
모ëë ì±ë³_ì°ë ¹_ê´ì¬ì¬_ì§ìì ìë ì¡°í©í©ëë¤. ì: male_25_34_fashion"}),(0,l.jsx)("div",{role:"radiogroup","aria-label":"utm_term êµ¬ì± ë°©ì",className:"mt-2 flex gap-1.5",children:["targeting","keyword"].map(e=>(0,l.jsx)("button",{type:"button",role:"radio","aria-checked":U===e,onClick:()=>B(e),className:`rounded-full px-2.5 py-1.5 text-xs font-medium transition ${U===e?"bg-accent text-white":"bg-gray-50 text-gray-600 hover:bg-gray-100"}`,children:"targeting"===e?"íê²í
":"í¤ìë"},e))}),"keyword"===U?(0,l.jsx)("input",{type:"text","aria-label":"ê²ìì´",value:I,onChange:e=>$(e.target.value),placeholder:"male_25_34_fashion",className:b}):(0,l.jsxs)("div",{className:"mt-2 space-y-2",children:[(0,l.jsx)(h,{label:"ì±ë³",items:p,value:E,onPick:G}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"w-10 shrink-0 text-[11px] text-gray-500",children:"ì°ë ¹"}),(0,l.jsx)("select",{"aria-label":"ìµì ì°ë ¹",value:q,onChange:e=>Z(e.target.value),className:"h-9 rounded-lg border border-gray-200 bg-white px-2 text-xs text-gray-900 focus:outline-none focus:ring-2 focus:ring-accent",children:g.map(e=>(0,l.jsx)("option",{value:e,children:"ì ì²´"===e?"ìµì":e},e))}),(0,l.jsx)("span",{className:"text-xs text-gray-400",children:"~"}),(0,l.jsx)("select",{"aria-label":"ìµë ì°ë ¹",value:O,onChange:e=>Q(e.target.value),className:"h-9 rounded-lg border border-gray-200 bg-white px-2 text-xs text-gray-900 focus:outline-none focus:ring-2 focus:ring-accent",children:g.map(e=>(0,l.jsx)("option",{value:e,children:"ì ì²´"===e?"ìµë":e},e))})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"w-10 shrink-0 text-[11px] text-gray-500",children:"ê´ì¬ì¬"}),(0,l.jsx)("input",{type:"text","aria-label":"ê´ì¬ì¬",value:X,onChange:e=>Y(e.target.value),placeholder:"fashion, gaming",className:`${b} mt-0`})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"w-10 shrink-0 text-[11px] text-gray-500",children:"ì§ì"}),(0,l.jsx)("input",{type:"text","aria-label":"ì§ì",value:H,onChange:e=>K(e.target.value),placeholder:"seoul, busan",className:`${b} mt-0`})]})]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{htmlFor:"utm-creative",className:v,children:"ìì¬ íì (utm_creative_format)"}),(0,l.jsx)(f,{text:"ê´ê³ ìì¬ì íì 구ë¶. ì: video_single, image_carousel"}),(0,l.jsx)("input",{id:"utm-creative",type:"text",value:F,onChange:e=>L(e.target.value),placeholder:"video_single",className:b}),x.map(e=>(0,l.jsx)(h,{label:e.label,items:e.items,value:F,onPick:L},e.label))]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{htmlFor:"utm-id",className:v,children:"ìº íì¸ ID (utm_id)"}),(0,l.jsx)(f,{text:"ê´ê³ íë«í¼\xb7GA4ìì ìº íì¸ì ìë³íë ê³ ì ID(ìë ìº íì¸ ë°ì´í° ì°ê²°ì©)."}),(0,l.jsx)("input",{id:"utm-id",type:"text",value:R,onChange:e=>z(e.target.value),placeholder:"abc123",className:b})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{htmlFor:"utm-content",className:v,children:"ì½í
ì¸ (utm_content)"}),(0,l.jsx)(f,{text:"ê°ì ìº íì¸ ììì ìì¬\xb7ë°°ì¹ ìì¹ë¥¼ 구ë¶(A/B í
ì¤í¸). ì: banner_top, text_link"}),(0,l.jsx)("input",{id:"utm-content",type:"text",value:P,onChange:e=>D(e.target.value),placeholder:"banner_top, text_link",className:b})]})]}),el&&(0,l.jsx)("p",{className:"text-sm text-red-500 md:col-span-2",children:el})]}),!el&&et.length>0&&(0,l.jsxs)("p",{className:"mt-6 rounded-xl bg-gray-50 p-4 text-[13px] leading-relaxed text-gray-500",children:[(0,l.jsx)("span",{className:"text-red-400",children:"*"})," íìë íì í목 ì¤"," ",(0,l.jsx)("span",{className:"font-medium text-gray-700",children:et.join(" \xb7 ")})," ","íëª©ì´ ë¹ì´ ìì´ ì¶ì URLì´ ìì§ ë§ë¤ì´ì§ì§ ìììµëë¤."]}),ea&&(0,l.jsxs)("div",{className:"mt-6",children:[(0,l.jsxs)("button",{type:"button",onClick:()=>V(ea),className:`group relative w-full rounded-xl p-4 pr-10 text-left transition ${J?"bg-accent-sub":"bg-gray-50 hover:bg-gray-100"}`,children:[(0,l.jsx)("span",{className:"text-[13px] text-gray-500",children:"ì¶ì URL"}),(0,l.jsx)("p",{className:`mt-1 break-all font-mono text-sm ${J?"text-accent-hover":"text-gray-900"}`,children:ea}),J?(0,l.jsx)("span",{className:"absolute right-3 top-3 text-[11px] font-medium text-accent-hover",children:"ë³µì¬ë¨"}):(0,l.jsx)(r.Td,{size:14,className:"absolute right-3 top-3 text-gray-300 transition group-hover:text-gray-500"})]}),(0,l.jsx)("button",{type:"button",onClick:()=>V(ea),className:"mt-4 inline-flex h-11 w-full items-center justify-center rounded-lg bg-accent px-6 text-sm font-medium text-white transition hover:bg-accent-hover active:scale-95 sm:w-auto",children:J?"ë³µì¬ë¨":"ë³µì¬"})]})]})})}}}]);
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.