Skip to content

feat: add url_type to click_url assets and remove click_tracker#47

Merged
BaiyuScope3 merged 2 commits intomainfrom
feature/url-type-clickthrough
Feb 12, 2026
Merged

feat: add url_type to click_url assets and remove click_tracker#47
BaiyuScope3 merged 2 commits intomainfrom
feature/url-type-clickthrough

Conversation

@BaiyuScope3
Copy link
Collaborator

@BaiyuScope3 BaiyuScope3 commented Feb 12, 2026

Summary

All click_url asset missing url_type="clickthrough, without this, the sales agent will need to fallback on a list of hard coded asset ids which is not really reliable to know which url to be used as click, which url should used as tracker etc.

  • Add url_type="clickthrough" to all click_url assets for consistency with other URL assets
  • Create create_click_url_asset() helper function to standardize click URL creation
  • Remove click_tracker asset from all formats (redundant), clickthough url will be enough for tracking

URL assets now have consistent url_type values:

Asset url_type
click_url clickthrough
impression_tracker tracker_pixel

Test plan

  • Verify list_creative_formats returns url_type: "clickthrough" for click_url assets
  • Verify click_tracker asset is no longer present in format definitions
  • Run existing tests to ensure no regressions

Made with Cursor

- Add url_type="clickthrough" to all click_url assets for consistency
- Create create_click_url_asset() helper function
- Remove click_tracker asset from all formats (redundant with click_url)

URL assets now have consistent url_type values:
- click_url: "clickthrough"
- impression_tracker: "tracker_pixel"

Co-authored-by: Cursor <cursoragent@cursor.com>
@BaiyuScope3 BaiyuScope3 requested a review from bokelley February 12, 2026 01:17
The click_tracker asset was removed, so these tests are no longer needed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@BaiyuScope3 BaiyuScope3 merged commit 0b41f3a into main Feb 12, 2026
3 checks passed
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.

2 participants

Comments