feat(analytics): Interceptor Usage Reports instrumentation (RQ-3644 Task 3) [EPIC / stacked-PR base]#84
Draft
wrongsahil wants to merge 2 commits into
Draft
feat(analytics): Interceptor Usage Reports instrumentation (RQ-3644 Task 3) [EPIC / stacked-PR base]#84wrongsahil wants to merge 2 commits into
wrongsahil wants to merge 2 commits into
Conversation
…44 Task 3) Design spec for the Interceptor analytics instrumentation that lets BrowserStack Usage Reports attribute Interceptor usage per group/user. Seeds the stacked-PR base branch for subtasks 3.1–3.8 (RQ-4675–4682). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…(RQ-4675) group_id flows the same way as browserstack_user_id: a top-level data.* field emitted in the requestly-cloud webapp eds.ts overlay (which overwrites this repo's modules/analytics via patch.sh), NOT in event_details. This repo only exposes window.currentlyActiveBrowserstackGroupId (selector + hook); the emit half is requestly-cloud PR #861. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Interceptor → BrowserStack Usage Reports instrumentation (RQ-3644, Task 3)
Epic rollup for the Interceptor analytics instrumentation that lets BrowserStack Usage Reports attribute Requestly Interceptor usage per group / user. Sibling to the API Client track (Task 2,
requestly-api-client).This is the stacked-PR base. Each
3.xsubtask PR targets this branch and merges down into it; this branch merges tomasterlast.Attribution model (key decision)
Group is a property of the user, not the workspace. Source = the user's BS-linked billing team
browserstackGroupId(1:1 withbrowserstack-<groupId>, globally available viauseBillingTeamsListener).sub_group_idis not consumed by Interceptor. Full rationale + evidence in the design doc added by this PR (docs/superpowers/specs/2026-07-17-interceptor-usage-reports-design.md).Planned stack
group_idonto every event — first stacked PRsharedList_updatedeventproduct_namerule_toggledsuper_user_idstaff-impersonation flagbrowserstack_user_idcoverageOut of scope
_qarig — do-not-merge draft (per RQ-4684 / API Client #3482).🤖 Generated with Claude Code