feat(console): use utm params the sources pipeline actually records

The console's source handler reads ref, utm_source, utm_medium and
utm_campaign and posts them to /console/sources. A bare `source` param is
not read anywhere, so it was dead weight.

utm_medium distinguishes the surface, so a banner or navbar entry added
later can be compared against the card. An explicit param is required
because the handler discards same-origin referrers, and cloud.appwrite.io
matches that check.
This commit is contained in:
harsh mahajan committed 2026-08-31 22:39:52 +05:30
1 parent 887e8e68fa
commit 1bed935467
1 file changed
+2 -1
+2 -1
View File
@@ -20,7 +20,8 @@ if (isCloud) {
scope: 'everywhere',
cta: {
text: 'Try it now',
link: () => 'https://appwrite.io/?ref=old-console&source=promo_card',
link: () =>
'https://appwrite.io/?utm_source=old-console&utm_medium=promo_card&utm_campaign=new-console',
external: true,
hideOnClick: true,
skipUpgradeRedirect: true