Add event structured data, canonical URLs and referrer-based traffic sources

- Event pages emit schema.org Event JSON-LD (dates, venue, image,
  organizer, ZAR offers, sold-out status) for Google event results.
- Event pages, the events list and home page set a canonical URL so
  tagged and alias links don't split rankings.
- Funnel tracking falls back to the referring site (Facebook, Instagram,
  Google, ...) and fbclid/gclid when a link has no utm_source/src.
- Share and Save QR on the event page tag their links as share / qr.
- getServerSettings moves to lib/serverSettings.ts for reuse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 09:26:02 +02:00
co-authored by Claude Opus 5.5
parent 15b73d5d9e
commit 38262022ef
10 changed files with 191 additions and 28 deletions
+5
View File
@@ -5,8 +5,13 @@ import { Footer } from "@/components/layout/Footer";
import { JoinUsButton } from "@/components/home/JoinUsButton";
import { appName } from "@/lib/siteConfig";
import { API_BASE } from "@/lib/api";
import type { Metadata } from "next";
import { Calendar, ArrowRight, CalendarCheck, Users, Heart, ShieldCheck } from "lucide-react";
export const metadata: Metadata = {
alternates: { canonical: "/" },
};
type Event = {
id: string;
title: string;