Skip to content

Conversation

@sdserranog
Copy link
Contributor

https://app.clickup.com/t/86b3m15j0

Add UTM parameters to the registration URL so we can track the source.

@sdserranog sdserranog requested a review from a team February 24, 2025 20:00
@sdserranog sdserranog changed the title Add UTMs to registrations urls. Add UTMs to registration urls. Feb 24, 2025
@nbarbettini
Copy link
Collaborator

@sdserranog We currently use Cloudflare to create the shortcut api.arcade.dev/signup. It is done with a Page Rule here: https://dash.cloudflare.com/8eea19ea3af73afba5044637e55cd204/arcade.dev/rules/page-rules/form

I would like to find a way to keep the api.arcade.dev/signup shortcut, but allow these UTM params to be appended to it. I'm not sure if that already works with the page rule as-is, can you test it?

If that doesn't work with page rules out of the box, then an alternative is creating a Worker Route with a small worker that has the biz logic to rewrite the URL as a 302 but append incoming query params to it.

Copy link
Collaborator

@nbarbettini nbarbettini left a comment

Choose a reason for hiding this comment

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

Thanks for getting this working @sdserranog!

@sdserranog sdserranog merged commit 25f8129 into main Feb 27, 2025
1 check passed
@sdserranog sdserranog deleted the utms branch February 27, 2025 18:41
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.

3 participants