1import{r as n,j as e,U as p}from"./index-BDVcOHEY.js";import{T as d}from"./ToolShell-D8CDkYap.js";import{I as i}from"./icons-CFXygO1N.js";import"./PublicChrome-BhKAmNsL.js";import"./index-poDR07tD.js";import"./ToolFaq-CQ8NR4Vr.js";import"./tools-CpfjtpYr.js";const u=[{title:"Find your business on Google",body:"Search your business name on Google Maps."},{title:"Open the Place ID",body:"Use Google's Place ID Finder (link in the FAQ) or copy the place ID from your Google Business Profile."},{title:"Paste it above",body:"Paste the Place ID into the field. The review link builds instantly."},{title:"Share the link",body:"Copy the link into emails, texts, receipts, or a QR code so customers land straight on the review box."}],h=["Turn the link into a QR code with our QR code generator so customers can scan it from a receipt, table tent, or sign.","Add the link to your email signature and text message templates so it goes out with every customer interaction.","Ask for the review right after a good experience, while it is still easy to say yes.","Test the link yourself first to make sure it opens your business before sharing it anywhere."],x={does:["Builds a direct Google review link from your Place ID","Opens straight to the review box, skipping the search step","Runs entirely in your browser"],doesnt:["Look up your Place ID for you or call any paid Google API","Store, upload, or send your Place ID anywhere","Guarantee Google will never change this URL format"]},m="inline-flex items-center gap-2 h-11 px-5 rounded-full bg-lp-accent text-white font-medium text-[14px] transition-[transform,background-color] duration-300 ease-[cubic-bezier(0.32,0.72,0,1)] hover:bg-lp-accent-deep active:scale-[0.98] disabled:opacity-40 disabled:pointer-events-none",g="inline-flex items-center gap-2 h-11 px-5 rounded-full bg-lp-surface text-lp-ink ring-1 ring-lp-line font-medium text-[14px] transition-colors hover:ring-lp-line-strong disabled:opacity-40 disabled:pointer-events-none";function I(){const[o,s]=n.useState(""),[l,r]=n.useState(!1),t=o.trim()?`https://search.google.com/local/writereview?placeid=${encodeURIComponent(o.trim())}`:"";function a(){t&&navigator.clipboard.writeText(t).then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})}return e.jsxs(d,{path:"/tools/google-review-link-generator",intro:"Paste your Google Place ID and get a direct link that takes customers straight to your review form, no searching required.",howToSteps:u,tips:h,doesDoesnt:x,faqs:p,faqIdPrefix:"review-link-faq",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"place-id-input",className:"block text-[13px] font-medium text-lp-ink mb-1.5",children:"Google Place ID"}),e.jsx("input",{id:"place-id-input",type:"text",autoComplete:"off",spellCheck:!1,value:o,onChange:c=>s(c.target.value),placeholder:"ChIJN1t_tDeuEmsRUsoyG83frY4",className:"w-full rounded-[10px] bg-lp-surface text-lp-ink ring-1 ring-lp-line px-3.5 py-2.5 text-[15px] outline-none transition-[box-shadow] focus:ring-2 focus:ring-lp-accent placeholder:text-lp-faint"})]}),e.jsx("div",{className:"mt-7",children:t?e.jsxs("div",{children:[e.jsx("div",{className:"text-[13px] font-medium text-lp-faint mb-1.5",children:"Your review link"}),e.jsx("code",{className:"block w-full min-w-0 rounded-[10px] bg-lp-wash ring-1 ring-lp-line px-3.5 py-2.5 text-[14px] text-lp-ink break-all",children:t}),e.jsxs("div",{className:"mt-4 flex flex-wrap items-center gap-3",children:[e.jsx("button",{type:"button",onClick:a,className:m,children:l?e.jsxs(e.Fragment,{children:[e.jsx(i.Check,{className:"text-[14px]"}),"Copied"]}):e.jsxs(e.Fragment,{children:[e.jsx(i.Copy,{className:"text-[14px]"}),"Copy link"]})}),e.jsxs("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:g,children:["Open review page",e.jsx(i.ArrowRight,{className:"text-[14px]"})]})]})]}):e.jsx("p",{className:"text-lp-muted text-[14.5px] leading-[1.55]",children:"Enter your Google Place ID above to build your review link."})})]})}export{I as GoogleReviewLinkGeneratorPage};
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.