Phase 5: contact, conversion and tracking hooks
- Contact page: Call/Text/WhatsApp at the top, hours, drop-off address, service area, map, and the quote form - Quote form: device, problem, preferred contact; email required, phone optional; labels wired to inputs; _gotcha honeypot; AJAX submit to form.taxi with an inline "same day during business hours" message and an error fallback (still posts normally without JavaScript) - Analytics hooks for click_call, click_text, click_email, submit_quote_form and click_google_reviews; no-ops until Plausible is installed - /review redirects (307) to the Google review link - Maps embed moved to one MapEmbed component Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9f5cf387dc
commit
4d901b351e
9 files changed
+293
-68
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { business } from "@/lib/site";
|
||||
|
||||
// Short link to text customers after a job: teatatucomputers.com/review
|
||||
export function GET() {
|
||||
return Response.redirect(business.googleReviewUrl, 307);
|
||||
}
|
||||
Reference in new issue
Block a user