Skip to content

feat: add support for custom tracking domains#98

Merged
drish merged 1 commit intomainfrom
feat/clicktracking
Apr 10, 2026
Merged

feat: add support for custom tracking domains#98
drish merged 1 commit intomainfrom
feat/clicktracking

Conversation

@christina-de-martinez
Copy link
Copy Markdown
Contributor

@christina-de-martinez christina-de-martinez commented Apr 9, 2026

Summary by cubic

Add custom tracking domains and tracking controls to domain APIs and webhooks. You can set a tracking subdomain and enable/disable click and open tracking, plus manage sending/receiving capabilities.

  • New Features

    • Domain models (Domain, DomainEventData) now include open_tracking, click_tracking, tracking_subdomain, and capabilities.
    • DomainAddData: add open_tracking, click_tracking, tracking_subdomain, tls, and capabilities.
    • DomainUpdateData: add capabilities and tracking_subdomain (omitted when null).
    • New DomainCapabilities with sending and receiving.
    • DomainRecord examples now include Tracking.
    • Tests cover JSON (de)serialization for capabilities and tracking.
  • Migration

    • Set DNS for the tracking subdomain (e.g., CNAME for links.example.com) and re-verify the domain after changes.
    • tracking_subdomain cannot be cleared once set; updates require DNS re-verification.

Written for commit 8f8ea06. Summary will update on new commits.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 7 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

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