Skip to content

Conversation

@ilovepinkpony1
Copy link
Contributor

Related Stories

{{ "https://example.com" | track_link_click: "query_42" }}
Returns ``https://talkable.com/public/[[site_slug]]/wallet_link_clicks/track?identifier=query_42&localization_key=wallet_link_click_query_42``. After successful click, user will be redirected to the original link.
Copy link
Member

Choose a reason for hiding this comment

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

Where's example.com in this link? What's wallet_link_click_query_42 ? How does this work?
cc @Doimhneacht

Copy link
Contributor

Choose a reason for hiding this comment

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

@zhuravel Please see the task description. The example.com is supposed to be stored in a localization.

By the way, @ilovepinkpony1, we have concluded during the scoping or grooming that we don't need the localization key. We can generate the key deterministically to later know its name in the proxy controller.

{{ "https://example.com" | track_link_click: "query_42" }}
Returns ``https://talkable.com/public/[[site_slug]]/wallet_link_clicks/track?identifier=query_42&localization_key=wallet_link_click_query_42``. After successful click, user will be redirected to the original link.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Returns ``https://talkable.com/public/[[site_slug]]/wallet_link_clicks/track?identifier=query_42&localization_key=wallet_link_click_query_42``. After successful click, user will be redirected to the original link.
Returns ``https://talkable.com/public/[[site_slug]]/wallet_link_clicks/track?identifier=query_42``. After a click, the user will be redirected to the original link (``https://example.com``).

Copy link
Contributor

@Doimhneacht Doimhneacht Nov 18, 2025

Choose a reason for hiding this comment

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

Oh, and now that I'm looking at it, I think we should move the controller into campaign scope, otherwise, we don't know where to look for the localization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants