Internet Identity and NNS Dapp Analytics

Introduction

DFINITY is exploring integrating an online analytics solution to monitor errors and aggregate usage data for the Internet Identity and NNS dapp.

This initiative aims to improve user experience and proactively address issues while maintaining the dapps core privacy and security principles.

The Need for Analytics

The lack of data makes it difficult to:

  • Detect regressions or issues introduced by new updates.
  • Prioritize bug fixes or feature development based on user impact.
  • Understand how users interact with the applications across different browsers, operating systems, and devices.

Currently, feedback is limited to support tickets and forum posts, representing only the most vocal users. This creates a biased understanding of user experiences and leaves many issues unaddressed.

Additionally, Passkeys and WebAuthn are still evolving, leading to inconsistent behaviors across platforms. Without data, it’s challenging to identify and resolve these inconsistencies effectively.

Privacy and Data Handling Requirements

To ensure the applications remain privacy-focused, any analytics tool must adhere to strict requirements:

  • No Cookies.
  • No Personal Data:
    • We’ll store UTM codes, referrer, country, device type, browser version, and operating system.
    • Click and load events will be used to monitor the usage of features.
  • No Individual data: The tool won’t collect data tied to any individual across sessions.
  • Data Location: All data will remain within the EU, where privacy laws like GDPR provide strong protections.
  • Compliance: The tool will comply with all relevant privacy regulations, including GDPR, PECR, and CCPA.
  • No Sale of Data: Data will not be sold to third parties.
  • Public Access: All analytics data will be made available to the community for transparency.

Community Feedback

So far, we have identified Matomo and Simple Analytics as potential solutions that meet the above requirements.

DFINITY values community input on this proposal. Your feedback will help determine which tool to use and how best to integrate it into the applications without compromising privacy.

Please join the discussion by sharing your thoughts.

Thanks!

3 Likes

in an old project I was involved the same discovery has been started and it was decided to go with https://plausible.io

did you consider that already?

2 Likes

No, we didn’t consider it. But we will! Thanks!

I would vote against analytics, that’s how privacy violations begin. People just want the convenience of logging in with their Gmail account, nothing more.

I don’t think that this is entirely true.

Many of the clients of those analytics tools are one of the loudest voices regarding privacy and a safe internet.

I don’t doubt that the team has good intentions, but this seems like enough metadata to enable tracking and partial doxxing.

The bigger issue might be that this isn’t something the base layer foundation should be doing in the first place.

We chose those tools because they offer the default privacy preserving features we want.

The reason behind the analytics is not to know how many people or who uses what. Instead, it’s more of a technical question: are there problems that haven’t been reported, is there good user experience in the flows and features, etc.

We intend to make the data public, so if you ever find some possible traceability, or violation of privacy, you or the community can bring it up to this forum immediately.

Abosutely agree. This things are missing! It wlll be benficial after adding these things into the app.