Skip to content

Analytics updates - #349

Merged
steven-tey merged 2 commits into
mainfrom
insight-and-analytics
May 1, 2026
Merged

Analytics updates#349
steven-tey merged 2 commits into
mainfrom
insight-and-analytics

Conversation

@marcusljf

@marcusljf marcusljf commented May 1, 2026

Copy link
Copy Markdown
Collaborator

Adds commission analytics documentation and links it from related program analytics docs.

  • Adds a new “Commission analytics” help article
  • Adds it below “Program analytics” in the Insights and reporting sidebar
  • Mentions the Performance/Commissions selector in the Program analytics article
  • Adds a note from Managing commissions to Commission analytics

Summary by CodeRabbit

  • Documentation
    • Added new "Commission analytics" help article with guidance on accessing analytics, toggling between commission value and count, viewing partner data, and filtering by partner, group, type, and date.
    • Updated "Managing partner commissions" article with reference to new Commission analytics guide.
    • Enhanced "Program analytics" article with "Performance and Commissions data selector" documentation.

@coderabbitai

coderabbitai Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This PR introduces a new Help Center article documenting commission analytics features, updates the navigation configuration to include it, and modifies related documentation to cross-reference the new content while migrating image assets to local paths.

Changes

Cohort / File(s) Summary
Navigation Configuration
docs.json
Adds route for new commission analytics help article under the "Insights and reporting" section.
Commission Analytics Documentation
help/article/commission-analytics.mdx
New article covering commission analytics access, data toggles, partner data table, top views aggregation, and filtering options with embedded images.
Documentation Cross-references
help/article/partner-commissions.mdx, help/article/program-analytics.mdx
Adds informational note linking to commission analytics article; updates performance/commissions data selector section and migrates screenshot URLs from CDN to local /images/dub-partners/... paths.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • dubinc/docs#329: Modifies help/article/partner-commissions.mdx with content changes that may conflict or require coordination with this PR's updates.
  • dubinc/docs#325: Touches help/article/partner-commissions.mdx and adds bulk-editing and earnings subsections, potentially overlapping with this PR's cross-reference additions.
  • dubinc/docs#318: Modifies help/article/partner-commissions.mdx with structural changes that may interact with this PR's documentation updates.

Suggested reviewers

  • steven-tey

Poem

🐰 A carrot of knowledge, so fresh and new,
Commission insights painted in every hue,
Analytics dancing through Partner's domain,
Cross-linked and gleaming like morning's rain,
Hop along with this feature complete! 📊✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Analytics updates' is vague and generic, using a non-descriptive term that doesn't convey the specific nature of the changes. Consider using a more specific title such as 'Add Commission analytics help article and update related documentation' to clearly indicate the main changes.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch insight-and-analytics

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

@mintlify

mintlify Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Dub 🟢 Ready View Preview May 1, 2026, 5:11 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@marcusljf
marcusljf marked this pull request as ready for review May 1, 2026 16:05

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
help/article/commission-analytics.mdx (1)

96-96: ⚡ Quick win

Use e.g., instead of eg: for style consistency.

✏️ Suggested edit
-| Commission type | Select a specific commission type (eg: click, lead, sale)                                      |
+| Commission type | Select a specific commission type (e.g., click, lead, sale)                                    |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@help/article/commission-analytics.mdx` at line 96, The table row containing
"Commission type | Select a specific commission type (eg: click, lead, sale)"
should use the style-correct abbreviation; replace "eg:" with "e.g.," so the
cell reads "Select a specific commission type (e.g., click, lead, sale)". Update
that exact table line in help/article/commission-analytics.mdx.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@help/article/commission-analytics.mdx`:
- Line 96: The table row containing "Commission type | Select a specific
commission type (eg: click, lead, sale)" should use the style-correct
abbreviation; replace "eg:" with "e.g.," so the cell reads "Select a specific
commission type (e.g., click, lead, sale)". Update that exact table line in
help/article/commission-analytics.mdx.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: afcf08a3-1485-42f2-a577-776ada7fbd13

📥 Commits

Reviewing files that changed from the base of the PR and between 7834cc0 and ab97a03.

⛔ Files ignored due to path filters (10)
  • images/dub-partners/program-analytics-datatoggle-commissions.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-filter-commissions.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-filter.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-funnel.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-location-commissions.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-location.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-partnertable-commissions.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-timechart-1.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-timechart-commissions.png is excluded by !**/*.png
  • images/dub-partners/program-analytics-topviews-commissions.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • docs.json
  • help/article/commission-analytics.mdx
  • help/article/partner-commissions.mdx
  • help/article/program-analytics.mdx

@steven-tey
steven-tey merged commit 532001d into main May 1, 2026
4 checks passed
@steven-tey
steven-tey deleted the insight-and-analytics branch May 1, 2026 22:21
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