diff --git a/apps/events/CHANGELOG.md b/apps/events/CHANGELOG.md index 145157a..dcf72d3 100644 --- a/apps/events/CHANGELOG.md +++ b/apps/events/CHANGELOG.md @@ -7,6 +7,18 @@ and this project follows [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [1.31.0] - 2026-10-22 + +### Added + +- The registration funnel's traffic source works without tagged links: visits from Facebook, Instagram, Google, X, LinkedIn and other sites are recognised from where the visitor came from (and Facebook's/Google's click ids). Links without a tag used to count as "direct". WhatsApp still only shows from tagged links (`?utm_source=whatsapp`), since it doesn't pass that on. +- The event page's Share button shares the link tagged `?utm_source=share`, and Save QR encodes it tagged `?utm_source=qr`, so those visits show separately. +- Event pages tell search engines about the event in Google's event format (schema.org `Event`): name, dates, venue, picture, organiser, ticket prices in Rand and whether it's sold out. Google can then show events with their date, venue and ticket link in search results and in its event listings. Contact-only events are listed without tickets. + +### Changed + +- Event pages, the events list and the home page tell search engines their one official address, so `?utm_source=…`, `?src=…` and alias links all count towards the same page in search rankings. Shared event links also carry the event's address. + ## [1.30.1] - 2026-10-22 ### Changed diff --git a/apps/events/backend/package-lock.json b/apps/events/backend/package-lock.json index edeea47..f3e00e5 100644 --- a/apps/events/backend/package-lock.json +++ b/apps/events/backend/package-lock.json @@ -1,12 +1,12 @@ { "name": "event-management-backend", - "version": "1.30.1", + "version": "1.31.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "event-management-backend", - "version": "1.30.1", + "version": "1.31.0", "hasInstallScript": true, "dependencies": { "@prisma/adapter-pg": "^7.10.1", diff --git a/apps/events/backend/package.json b/apps/events/backend/package.json index 078ecc3..8f4902f 100644 --- a/apps/events/backend/package.json +++ b/apps/events/backend/package.json @@ -1,6 +1,6 @@ { "name": "event-management-backend", - "version": "1.30.1", + "version": "1.31.0", "description": "Event Management System Backend", "main": "src/index.js", "scripts": { diff --git a/apps/events/frontend/package-lock.json b/apps/events/frontend/package-lock.json index 50990d7..44f53d5 100644 --- a/apps/events/frontend/package-lock.json +++ b/apps/events/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "hope-events-frontend", - "version": "1.30.1", + "version": "1.31.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hope-events-frontend", - "version": "1.30.1", + "version": "1.31.0", "dependencies": { "@dnd-kit/core": "^6.3.1", "@hookform/resolvers": "^5.2.1", diff --git a/apps/events/frontend/package.json b/apps/events/frontend/package.json index 1e8ece4..ee18136 100644 --- a/apps/events/frontend/package.json +++ b/apps/events/frontend/package.json @@ -1,6 +1,6 @@ { "name": "hope-events-frontend", - "version": "1.30.1", + "version": "1.31.0", "private": true, "scripts": { "dev": "next dev --turbopack", diff --git a/apps/events/frontend/src/app/events/[id]/ClientActions.tsx b/apps/events/frontend/src/app/events/[id]/ClientActions.tsx index 89649b3..a701d0b 100644 --- a/apps/events/frontend/src/app/events/[id]/ClientActions.tsx +++ b/apps/events/frontend/src/app/events/[id]/ClientActions.tsx @@ -6,6 +6,12 @@ import { API_BASE } from "@/lib/api"; type Props = { event: { id: string; title: string; description?: string | null } }; +// The event's own address tagged with where the link was handed out, so visits from it +// show under that source in the funnel report (the page's canonical drops the tag for SEO). +function taggedEventUrl(source: string): string { + return `${window.location.origin}${window.location.pathname}?utm_source=${source}`; +} + export default function ClientActions({ event }: Props) { return (
@@ -15,7 +21,7 @@ export default function ClientActions({ event }: Props) { await navigator.share({ title: event.title, text: event.description ?? undefined, - url: window.location.href, + url: taggedEventUrl("share"), }); } catch (err) { console.error("Error sharing:", err); @@ -29,7 +35,7 @@ export default function ClientActions({ event }: Props) {