Repository navigation
docs: brand settings follow today's ship (Program ID, two payment cards, link parameter, attribution window) - #147
Merged
Merged
Conversation
…ds, partner link parameter, attribution window Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Brand-side docs follow what shipped to prod on 2026-10-16 (dashboard on main, verified in the prod JS chunks: "Program ID", "Attribution window").
brand/settings.mdx: Business shows Program ID (read-only, Copy); Tracking has the Partner link parameter; Payments is two cards; Refer a brand includes Invite via email and the referred brands.brand/quickstart/setup-program.mdx:app/affitor-provider.tsx; tracker states and the Continue rule follow today's step; new Partner link parameter paragraph.errors.mdxnames the settingattribution_window_days(shown as Attribution window);inviting-partnerssays attribution window.?via=next to?aff=: attribution (cookie section + scenario table), click-tracking, tracking-overview, glossary,public/docs/skill.md.Sources (affiliate-dashboard origin/main 0b3d39dd, affiliate-cms origin/main 0f7bbaa0)
src/components/AffiliateManagement/Advertiser/Setup/BusinessStep.tsx:234-252(label, help "Used by the tracking script, the API and AI agents.", Copy, read-only).Setup/PaymentsStep.tsx:51-80(two cards, done when either),:223-224heading + "Connect Stripe, your server, or both.",:233pills,:248Connect/Finish in Stripe,:255"Only the program owner can connect Stripe.",:266Received/No sale yet,:274,277Send a test sale/Check again,:306both warning,:325pipeline check text; Skip for now in setup only.Setup/TrackingStep.tsx:143tracked = first click or gate,:153-165states,:231-234Check now hidden after first click,:259-267Continue/Skip;Mcp/ConnectSheet.tsx:67-74,170prompt;src/lib/trackerSnippets.ts:49-60app/affitor-provider.tsx.Setup/LinkParamField.tsx:92-111; CMSsrc/utils/partner-link.ts:14-28(LINK_PARAM_VIA_SINCE = 2026-10-16T00:00:00Z, older programs locked to aff); trackerpublic/js/affitor-tracker.js:126-133(aff, else via). The npm SDK 2.1.3 loads the same hosted tracker (dist/index.jsreferences affitor-tracker.js).src/api/affiliate-commission/services/attribution-window.ts:21,36-40(attribution_window_days, default 60); click responsecookie_window_dayscarries the effective value (affiliate-tracking/controllers/v1-tracking.ts:597-611).Not in this PR (reported to p470)
--cookie-durationwrites onlycookie_window_days, which tracking never reads (CMSsrc/api/cli/services/cli.ts:78): docsbrand/cli/*still say default 90. Product decision first.No terms or money wording changes. Media:
setup-payments.pngno longer referenced; new shot to be briefed.🤖 Generated with Claude Code