Skip to content

Revert "Add channel back to analytics register (#1262)" - #1263

Merged
kevinherdez merged 1 commit into
NWACus:mainfrom
kevinherdez:kevinherdez/revertMetricsChange
Oct 26, 2026
Merged

kevinherdez merged 1 commit into
NWACus:mainfrom
kevinherdez:kevinherdez/revertMetricsChange

Conversation

@kevinherdez

@kevinherdez kevinherdez commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

In PR #1262 I added channel thinking that we needed it to control the Feature Flags properly.

Feature Flags target sets of users to determine whether a flag should be on or off through people properties. There is a channel people property that some feature flags use to distinguish between setting a flag on in release or preview. However, these properties are set through PostHog's identity call and not the register call. The register call only sets 'super' event properties that are added to all of the events sent to PostHog. They are not properties used to determine a specific user.

With all that in mind, adding channel back in the last PR is adding the same information in 2 places since channel and environment will map to the same thing and they're both only event properties. There's no reason to have both and based on the new standards that we made to keep AvyApp and AvyWeb consistent, removing channel is the right call here.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@kevinherdez
kevinherdez added this pull request to the merge queue Oct 26, 2026
Merged via the queue into NWACus:main with commit 6af75da Oct 26, 2026
6 checks passed
@kevinherdez
kevinherdez deleted the kevinherdez/revertMetricsChange branch October 26, 2026 21:51
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.

1 participant