Skip to content

fix(shortlink): use redirect instead of rewrite for Beluga tracking#3239

Merged
waleedlatif1 merged 1 commit intostagingfrom
fix/redirect
Feb 18, 2026
Merged

fix(shortlink): use redirect instead of rewrite for Beluga tracking#3239
waleedlatif1 merged 1 commit intostagingfrom
fix/redirect

Conversation

@waleedlatif1
Copy link
Collaborator

Summary

  • Switch Beluga short link from rewrite to redirect so their tracking system actually sees the client
  • Rewrites proxy server-side which prevents Beluga from logging clicks

Type of Change

  • Bug fix

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel
Copy link

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Feb 18, 2026 0:23am

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 18, 2026

Greptile Summary

Changed Beluga campaign short link (/r/:shortCode) from a rewrite to a redirect. This fix ensures Beluga's tracking system can properly log clicks, as rewrites proxy requests server-side and prevent the external tracking service from seeing the actual client.

Confidence Score: 5/5

  • This PR is safe to merge with minimal risk
  • The change is a straightforward bug fix that correctly addresses the tracking issue by using redirects instead of rewrites. The implementation follows Next.js best practices and matches the pattern of other redirects in the file.
  • No files require special attention

Important Files Changed

Filename Overview
apps/sim/next.config.ts Changed Beluga short link from rewrite to redirect to enable proper client-side tracking

Last reviewed commit: eddf83b

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@waleedlatif1 waleedlatif1 merged commit 61a5c98 into staging Feb 18, 2026
7 checks passed
@waleedlatif1 waleedlatif1 deleted the fix/redirect branch February 18, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments