Uniswap / Uniswap/interface

Fix chainid logging

Open
#3,182 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

We added GA logging for chainID in this issue https://github.com/Uniswap/interface/issues/1936 and this PR https://github.com/Uniswap/interface/pull/2440

However, it's still not working properly. In the data the value of the chainId dimension appears with odd values like "Soundcloud Music Downloader" or "YouTube Music Downloader". The expected values are 1, 10, 42161, etc

Also, the number of events are much lower than I would expect for L1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the chainID logging work described in issue #1936 and PR #2440, then trace the current analytics event payload and its chainId dimension. Confirm why values such as downloader names are recorded and why L1 event counts are low; done means valid chain IDs such as 1, 10, and 42161 are logged with expected event coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
analytics, blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.