-
Notifications
You must be signed in to change notification settings - Fork 2
[PR-25818][Wallet] Track link click #419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| {{ "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. |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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``). |
There was a problem hiding this comment.
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.
Related Stories