You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(links): support optional UTM parameters on short links
Lets users attach utm_source / utm_medium / utm_campaign / utm_term /
utm_content to a short link as structured fields instead of baking them
into the destination URL by hand. UTMs are merged into link.url at
redirect time, preserving any pre-existing query string and overwriting
conflicting UTMs (the structured field is the source of truth).
The form's UTM section is collapsed by default and auto-expands when
editing a link that already has any UTM value set. An empty-string-to-
null Zod transform keeps the DB free of meaningless empty strings.
Adds Redis cache invalidation in createLink/updateLink/deleteLink so
edits to url/slug/UTMs take effect immediately instead of waiting for
the 24h redirect-cache TTL — including a defensive del in createLink
to guard against slug-reuse-after-hard-delete poisoning the cache.
0 commit comments