From 5f31adfbf228c11ad6131a843e5e5dc4b56f4f44 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 24 Jun 2026 17:02:00 +0000 Subject: [PATCH] web: redirect /banner to homepage with event UTM tags Add a /banner short link that redirects to the homepage with UTM parameters attributing traffic to the physical banner at the current in-person event (AI Engineer World's Fair). Temporary redirect so the link can be repointed at the next event. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01HiPuenihAEqYL2YWDq7bfk --- web/next.config.mjs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/next.config.mjs b/web/next.config.mjs index abc55b6..5ac5fd0 100644 --- a/web/next.config.mjs +++ b/web/next.config.mjs @@ -45,6 +45,17 @@ const nextConfig = { }, async redirects() { return [ + // In-person event banner QR code → homepage, tagged so the traffic is + // attributable to the physical banner at the current event. Temporary + // (not permanent) so /banner can be repointed at the next event without + // browsers having cached a permanent redirect. Current event: + // AI Engineer World's Fair. + { + source: '/banner', + destination: + '/?utm_source=ai-engineer-worldfair&utm_medium=banner&utm_campaign=ai-engineer-worldfair-2026', + permanent: false, + }, { source: '/quickstart', destination: '/docs/quickstart', permanent: true }, { source: '/relayfile', destination: '/primitives#file', permanent: true }, { source: '/relayfile/:path*', destination: '/primitives#file', permanent: true },