Skip to content

SKY-8967 SKY-8968 tracks options#1210

Merged
JeffScattini-amplitude merged 9 commits intomainfrom
SKY-8967-SKY-8968-tracks-options
Jan 14, 2026
Merged

SKY-8967 SKY-8968 tracks options#1210
JeffScattini-amplitude merged 9 commits intomainfrom
SKY-8967-SKY-8968-tracks-options

Conversation

@zhukaihan
Copy link
Copy Markdown
Contributor

@zhukaihan zhukaihan commented Nov 24, 2025

Updated docs for tracksAssignment and tracksExposure for server-side remote evaluation fetch options.


Note

Updates server SDK docs to support per-call tracking options and exposure tracking across languages.

  • Add FetchOptions to remote fetch APIs (Go FetchV2WithOptions, JVM fetch overloads, Node fetchV2, PHP fetch, Python fetch_v2, Ruby fetch_v2), documenting tracksAssignment/tracksExposure (and flagKeys where applicable)
  • Introduce exposure tracking for local evaluation: new ExposureConfig sections and guidance; replace tips about automatic assignment tracking with exposure tracking notes
  • Add evaluate-with-options support for local evaluation (EvaluateOptions with tracksExposure; new/updated APIs: Go EvaluateV2WithOptions, JVM evaluate(..., EvaluateOptions), Node evaluateV2(..., options), PHP evaluate(..., ?EvaluateOptions), Python evaluate_v2(..., options), Ruby evaluate_v2(..., options))
  • Mark AssignmentConfig/assignmentConfiguration as deprecated in all relevant configs and add ExposureConfig tables
  • Minor copy edits (clarify user param wording)

Written by Cursor Bugbot for commit 81ca250. This will update automatically on new commits. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
amplitude-docs Error Error Jan 14, 2026 10:15pm

@zhukaihan zhukaihan changed the title Sky 8967 sky 8968 tracks options SKY-8967 SKY-8968 tracks options Nov 24, 2025
Comment thread content/collections/experiment-sdks/en/experiment-go.md Outdated
@kyeh-amp
Copy link
Copy Markdown
Contributor

kyeh-amp commented Dec 9, 2025

Genuinely asking - Is it worth updating this graphic too?
https://amplitude.com/docs/feature-experiment/remote-evaluation

@JeffScattini-amplitude
Copy link
Copy Markdown
Collaborator

Genuinely asking - Is it worth updating this graphic too? https://amplitude.com/docs/feature-experiment/remote-evaluation

Most likely. Can I set up some time with you to discuss and update?

@zhukaihan zhukaihan requested review from a team and removed request for a team December 10, 2025 11:51
@markzegarelli markzegarelli force-pushed the SKY-8967-SKY-8968-tracks-options branch from 8de37ec to a20a0a8 Compare December 17, 2025 17:52
Comment thread content/collections/experiment-sdks/en/experiment-go.md
Comment thread content/collections/experiment-sdks/en/experiment-go.md
Comment thread content/collections/experiment-sdks/en/experiment-go.md Outdated
Comment thread content/collections/experiment-sdks/en/experiment-node-js.md
Comment thread content/collections/experiment-sdks/en/experiment-go.md
@JeffScattini-amplitude JeffScattini-amplitude merged commit e0a4166 into main Jan 14, 2026
3 of 4 checks passed
| <div class="big-column">Name</div> | Description | Default Value |
| --- | --- | --- |
| `flagKeys` | Specific flags or experiments to evaluate. If undefined, null, or empty, all flags and experiments are evaluated. | `undefined` |
| `tracksExposure` | To track or not track an exposure event for this fetch request. If `undefined`, uses the server's default behavior (does not track exposure). | `undefined` |
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing contractions violate style guide high-priority rule

Low Severity · Bugbot Rules

The new FetchOptions tables use "does not track exposure" and "do not track exposure" instead of the contracted forms "doesn't" and "don't". This violates the Contractions rule marked as High Priority in the style guide. The pattern appears in all SDK docs (Node.js, JVM, PHP, Python, Ruby use "does not"; Go uses "do not").

Additional Locations (2)

Fix in Cursor Fix in Web

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