-
Notifications
You must be signed in to change notification settings - Fork 16
docs: ENSAnalytics #2152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Goader
wants to merge
2
commits into
main
Choose a base branch
from
docs/ensanalytics
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
docs: ENSAnalytics #2152
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
68 changes: 68 additions & 0 deletions
68
docs/ensnode.io/src/content/docs/docs/services/ensanalytics/index.mdx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| --- | ||
| title: ENSAnalytics | ||
| description: A planned analytics engine for ENS — cohorts, behavior, policy impact, and custom dashboards on top of ENSDb. | ||
| sidebar: | ||
| label: Overview | ||
| order: 1 | ||
| --- | ||
|
|
||
| import { Aside, LinkCard } from "@astrojs/starlight/components"; | ||
|
|
||
| <Aside type="note" title="Our vision"> | ||
| **ENSAnalytics** is our vision for an analytics engine on top of [ENSDb](/docs/services/ensdb). The [ENS Referral Program](https://ensawards.org/ens-referral-program) is the first slice of it running today. | ||
| </Aside> | ||
|
|
||
| ENSAnalytics will be the analytics layer that turns the live state of ENS into the kind of insights a protocol team, a registrar, or an app builder actually wants to act on. | ||
|
|
||
| Look at any product business and the analytics dashboard is the steering wheel — which cohorts of users stick around, which campaigns convert, which segments are quietly worth more than the loud ones. ENS deserves the same lens. Today most of that signal is locked inside [ENSDb](/docs/services/ensdb) as raw events. You can count names and count registrations, but answering *"which registrars retain users best?"* or *"how does behavior shift in the second year of holding a name?"* still means writing one-off SQL or stitching subgraph queries together by hand. | ||
|
|
||
| ## What we're building toward | ||
|
|
||
| A few directions we're particularly excited about. | ||
|
|
||
| ### Cohorts and behavior | ||
|
|
||
| How long has each holder been in ENS, what did they renew, what did they let expire, how did their record-set evolve? Group accounts into cohorts by entry date, by registrar, by the kind of names they hold, and watch how those cohorts behave over time. Cluster on activity rather than on a single hardcoded segmentation — the interesting stories tend to live in the slices nobody pre-defined. | ||
|
|
||
| ### Policy levers | ||
|
|
||
| Run a referral edition, change a renewal price, ship a new ENSv2 feature, then *see* what it did. By cohort, by chain, by registrar. Today this kind of analysis happens in spreadsheets after the fact; we want it to happen in a dashboard while it's still actionable. | ||
|
|
||
| ### Custom dashboards | ||
|
|
||
| Registrars, the ENS DAO, and apps each care about a different slice of the same data. ENSAnalytics will let operators compose their own dashboards — the metrics that matter to a Basenames operator are not the metrics that matter to a DAO budget review — without forking the service. | ||
|
|
||
| ### The ENS Referral Program | ||
|
|
||
| The [ENS Referral Program](https://ensawards.org/ens-referral-program) is the first analytics product we've shipped on ENS. Leaderboards, advocate detail pages, full per-referral award accounting — all of it driven by aggregations over ENSDb, surfaced through an API, rendered on [ENSAwards](https://ensawards.org). It's the smallest end-to-end version of the bigger vision, and we're using it to learn what the more general engine should look like. | ||
|
|
||
| ## Built for | ||
|
|
||
| - The ENS DAO and its delegates, evaluating program impact and renewal economics across cohorts, chains, and time. | ||
| - Registrars across the indexed namespace (mainnet `.eth`, Basenames, Lineanames, 3DNS, and what gets indexed next) wanting to see how their users compare to the rest of ENS. | ||
| - App builders adding ENS to their product and wanting to know which features actually move the needle. | ||
| - Anyone running a referral program, growth campaign, or pricing change on ENS and wanting to measure what it did. | ||
|
|
||
| ## How it fits | ||
|
|
||
| ENSAnalytics will sit on top of [ENSDb](/docs/services/ensdb), the same way [ENSApi](/docs/services/ensapi) does — a separate service that reads the live indexed state of ENS and turns it into aggregates, time series, cohorts, and rollups. Apps like [ENSAwards](https://ensawards.org) consume the API, operators run their own queries against the engine, and the underlying name and registration data stays exactly where it already lives. | ||
|
|
||
| ## Related | ||
|
|
||
| <LinkCard | ||
| title="ENSDb" | ||
| description="The live onchain state of ENS that ENSAnalytics aggregates over." | ||
| href="/docs/services/ensdb" | ||
| /> | ||
|
|
||
| <LinkCard | ||
| title="ENS Referral Program (ENSAwards)" | ||
| description="The first slice of the broader ENSAnalytics vision, live on ENS today." | ||
| href="https://ensawards.org/ens-referral-program" | ||
| /> | ||
|
|
||
| <LinkCard | ||
| title="ENSDb future possibilities" | ||
| description="Streaming ENSDb into data warehouses, event engines, and cache layers." | ||
| href="/docs/services/ensdb/integrations/future-possibilities" | ||
| /> |
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,6 +1,6 @@ | ||||||
| --- | ||||||
| title: ENSNode services | ||||||
| description: Introduction to the services that make up the ENSNode stack, including ENSApi, ENSIndexer, ENSDb, ENSRainbow, ENSAdmin, and the planned ENSEngine. | ||||||
| description: Introduction to the services that make up the ENSNode stack, including ENSApi, ENSIndexer, ENSDb, ENSRainbow, ENSAdmin, the planned ENSEngine, and ENSAnalytics. | ||||||
| sidebar: | ||||||
| label: Overview | ||||||
| order: 1 | ||||||
|
|
@@ -40,5 +40,7 @@ Each ENSNode instance is composed of **a set of services**. Each service has a c | |||||
| <img slot="icon" src={ENSRainbow3DImage.src} alt="" aria-hidden="true" class="scale-175 w-[125px] sm:w-[150px] lg:w-[175px] h-auto aspect-square max-sm:overflow-hidden" /> | ||||||
| </ENSNodeServiceCard> | ||||||
|
|
||||||
| <ENSNodeServiceCard title="ENSAnalytics" href="/docs/services/ensanalytics" description="Our vision for an analytics engine on ENS — cohorts, behavior, and policy insights on top of ENSDb." /> | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| <ENSNodeServiceCard title="ENSEngine" href="/docs/services/ensengine" description="Coming soon — watches ENSDb for changes and delivers ENS-aware webhooks." /> | ||||||
| </div> | ||||||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move ENSAnalytics to the bottom of the list for now 👍