Learner privacy in Open edX analytics

Aspects reports are built to avoid identifying learners by default, but some plugins and dashboard grants add personal data back. This page shows where that happens and who can see it.

On this page

How Open edX learner privacy works in analytics reports

Course teams need to see how learners progress through a course without seeing who each learner is. In Open edX, Aspects is designed to keep reports pseudonymous by default, and learner identity appears only where a plugin adds it or where an access grant allows someone to see it. Treat that default as the starting point for your design, and confirm with your Aspects version exactly which fields reach each dashboard before you promise learners or your privacy office that identity is hidden.

The flow runs from tracking logs to dashboards in stages. The event-routing-backends plugin captures platform tracking events and converts them into xAPI statements. A pipeline then moves those statements into a ClickHouse database, using either Ralph or Vector depending on your Aspects version. Apache Superset presents the stored data as Aspects dashboards. Each stage is a place where identifiers can be added, kept or removed, so map every stage to the fields it carries before you decide who can query it. Ask your implementer to show you a sample statement and a sample table row from your own environment.

Course teams are the main audience for this question because they are the people most likely to ask for a learner-level view. Instructors want to find the learners who are stuck, and support staff want to contact them. Those needs are legitimate, but they are different from aggregate course reporting. Decide in advance which roles see pseudonymous data, which see identified data, and how a grant to identified data is approved, logged and removed. The answers shape the Superset access model and the plugins you enable, so settle them before the first dashboard is shared.

Where personal data can re-enter the reporting path

A pseudonymous analytics setup can still become identifiable once data leaves it. The paths below are the points where a learner's name, email, or profile detail can be attached to an event, a record, or an export, so each one needs an explicit decision and a check.

Identity-linked xAPI actor fields

The xAPI actor in each statement is the element that identifies the learner. Whether it carries a stable account identifier, an email address, or a name depends on how the event-routing configuration maps the user. Confirm which actor value leaves the LMS for every event type, and whether that mapping changed when you enabled or updated a plugin. Store a reviewed sample of statements in a test environment and inspect the actor field directly.

LMS and CMS profile fields in events

Some event payloads include context drawn from the user profile or the course enrollment, such as username, full name, or account metadata added by a custom field. A profile field that is harmless on the LMS can become personal data once it lands in a dashboard table. List every profile field your organization has added, then confirm which of them the analytics path can read and whether they appear in any downstream dataset.

Custom plugins and event handlers

Plugins and handlers you write can add fields to events, join learner records to HR or CRM data, or write names into logs. Each custom handler is a new data flow that the original Aspects design did not review. Treat every custom event handler as its own component: document its inputs and outputs, restrict what it may attach, and include it in your privacy review before it reaches production.

Forwarding to an external LRS

Forwarding xAPI statements to a learning record store you run or buy moves the data outside the analytics stack that held it. The receiving store may keep names, expose them in its own interface, or retain them under different rules. Before enabling forwarding, confirm which fields the receiving system requires, who administers it, its retention settings, and whether the same pseudonymous identifier is used on both sides.

Exports and ad hoc queries

Exports to spreadsheets, scheduled reports sent by email, and direct SQL queries against the analytics database are the most common route to identification. A query that joins a pseudonymous ID to a roster or an enrollment table reveals identities even when the dashboards do not. Ask who can run exports, where files are stored after download, and which accounts hold direct database access, and review those answers at each change of course staff.

Privacy configuration options and when each fits

This table compares four ways to handle learner identity in Open edX analytics, from keeping Aspects pseudonymous to pseudonymizing identifiers before data leaves your stack. Read each row against your own team, the review it will trigger, and the work it adds at every upgrade. The main takeaway is that the more identity you carry into reports, the more access control, review and upgrade testing you take on.

OptionSuitsCompliance review it triggersCost of keeping it through upgrades
Default pseudonymous reportingCourse teams and analysts who need engagement and completion trends, not named learnersLighter: confirm the stored fields are pseudonymous and document who can query the ClickHouse databaseLow: stays on the default Aspects data model, though each upgrade still needs a check of new event fields
Identifiers added for specific programsPrograms with a documented need to contact or credit named learners, such as certificate or cohort follow-upHeavier: the purpose, lawful basis or consent path and retention period for each added field must be written downMedium: each added identifier is a plugin or pipeline change that must be retested after every release
Identity fields restricted to a secured storeOrganizations that need names or emails for support or credentialing, kept apart from analyticsModerate: access to the identity store, its join key and its audit logs becomes a controlled system to assessMedium: a separate store, join logic and access roles need maintenance, and the join must survive schema changes
Pseudonymizing identifiers before forwardingTeams sending xAPI statements to an external LRS or third-party tools that should not hold direct identifiersModerate: the receiving party is a processor or recipient, so its contract, location and retention need reviewMedium to high: the hashing or keying scheme, salt or key rotation and the forwarding configuration must be kept in step with event-routing-backends changes

Who on the course team can see personal data

Instructors are usually the largest group of Superset users on a course team. Their dashboards are meant to show engagement and progress for their own courses. Whether they can see learner-identifying fields depends on how the dashboards and their Superset roles were configured, so confirm this in your own environment before granting access.

  • Dashboard access: Instructors open the course dashboards they are given and filter by their own courses. Confirm that these dashboards show only pseudonymous learner identifiers.
  • Direct database access: Instructors should not receive ClickHouse credentials. Direct query access is a separate grant that should be tied to a specific job.
  • Granting: Ask the course lead to request access for each instructor and have the platform team record the approval and the courses it covers.
  • Review: Review instructor accounts whenever course staffing changes, and remove access for anyone who has left a course or run.
  • Exports: Check whether Superset lets users download underlying rows or export charts with data, and decide whether instructors may do so.

Check that each instructor account maps to a current course assignment and that no account can reach data from courses the user does not teach.

How to set up pseudonymous analytics before the first course launch

This sequence sets up Open edX analytics so course teams see learner activity under pseudonymous identifiers, and so every identification path that remains is known, documented and limited to the people who need it. Each step ends with a check you can record before any learner enrolls.

  1. Agree reporting data requirements with the privacy owner

    Before any configuration, the course team lead and the privacy owner list the reports the organization needs, such as completion rates, quiz performance and engagement by course run, and the fields each report requires. Mark any report that would need a name, email address or other direct identifier and record who approved it. The output is a signed-off requirements list. You know this step is done when every planned dashboard has a stated purpose and every identifying field is either justified in writing or removed from scope.

  2. Confirm the Aspects release and pipeline in use

    The platform engineering team records the Open edX release, the Aspects version and the pipeline in use, either Vector or Ralph, along with the event-routing-backends configuration that forwards tracking logs as xAPI statements. The release matters because the Open edX project supports only its latest named release, so privacy behavior must be checked against the version you run. Confirm the exact versions with your deployment repository and the Aspects documentation. The check is a written record of versions and pipeline settings that matches the running environment.

  3. Verify identity fields in statements and dashboards

    Using a test course, the platform engineer inspects a sample of stored xAPI statements and the underlying ClickHouse tables to see which identity fields arrive, such as user IDs, usernames, email addresses or names. Check the Superset datasets as well, because a field can be hidden in a chart but still present in the data. Compare the results with the requirements list from step one. The check is a field-by-field table showing each identifier, where it appears and whether it is pseudonymous. Any unexpected direct identifier must be fixed before launch.

  4. Configure Superset access grants by role

    The analytics administrator creates Superset roles that map to the requirements list, so instructors see only the course runs they teach and analysts see aggregated data unless the privacy owner approves otherwise. Remove default access that exposes datasets beyond those roles and restrict who can export raw data. Confirm group membership against your identity provider so access follows staff changes. The check is a role matrix that a second person has reviewed, plus a test login for each role confirming it sees only the intended charts and datasets.

  5. Test with a sample course and test accounts

    The course team creates a sample course with test learner accounts that have no real personal data, then runs realistic enrollment, quiz and discussion activity. The QA lead checks that each report renders, that the pseudonymous identifiers stay stable across the course run, and that no dashboard, filter, tooltip or export reveals a direct identifier. Record any defect and retest after each fix. The check is a signed test log covering each report and each role, with all identified defects closed or accepted by the privacy owner.

  6. Document the identification plugins that remain

    The platform team lists every plugin, setting or integration that adds identification, such as a single sign-on attribute mapping, a certificate or badge service, or a custom event handler, and states what it sends, where it goes and who can see it. Assign an owner to each item and set a review point for when the platform is upgraded or a plugin is added. The output is a maintained register stored with the platform documentation. You know this step is done when the privacy owner has reviewed the register and every entry matches a decision recorded in step one.

Where learner identity can be kept or removed in the analytics path

The path starts at the LMS, where tracking logs record learner activity under a pseudonymous user identifier. The event-routing-backends plugin converts those events into xAPI statements, and this is the hand-off where an identity plugin can add names or email addresses. Ralph or Vector then moves statements into ClickHouse, where a field-dropping or hashing step can remove identifiers before storage. Superset roles decide who queries the stored data. Check each hand-off, and check whether an external LRS receives the same fields as the internal pipeline.

Identifiers can be added at the plugin and removed or hashed before storage.

Security and operational controls for learner data

Pseudonymous reports still sit on a stack that holds event data about every learner. The controls below cover who can query that data, where it lives, how long it is kept, what leaves the system, and how changes are reviewed during upgrades. Each one needs a written decision and a check against your own configuration.

Access control on Superset and ClickHouse

Superset dashboards and the ClickHouse tables behind them are two separate access layers. A user who can open a dashboard may not be restricted from querying the underlying tables, and the reverse is also true. Map each course team role to the datasets it needs, confirm that Superset roles do not grant direct database access, and test with a non-admin account that has only instructor rights. Check both layers separately before you invite course teams.

Aspects overview

Encryption and network placement

Keep ClickHouse, Superset and the pipeline components off the LMS servers and on a network segment that only the services that need them can reach. Confirm that connections between the LMS, the event pipeline, ClickHouse and Superset use TLS, and that disks or volumes holding event data are encrypted under your standard. Ask your hosting provider or infrastructure team to document which subnets, ports and identities are allowed to talk to the database.

Log retention and deletion requests

Tracking logs and the xAPI statements derived from them accumulate over time, and they are often kept longer than anyone intended. Set a retention period for raw events and for aggregated tables separately, and document it. Deletion requests must reach both the analytics store and any backups or exports, so confirm with your privacy team how pseudonymous identifiers are linked back to a person and which records must be removed.

Audit of dashboard exports

Superset lets users download chart data and export dashboards, and any export can carry learner identifiers if the underlying query returns them. Decide which roles may export, whether exports are logged, and where downloaded files may be stored. Review export activity on a schedule and confirm that the logging you rely on is enabled in your deployment rather than assumed from the defaults.

Change control during plugin and pipeline updates

Plugins such as event-routing-backends, pipeline settings and dashboard definitions change during upgrades, and a change can alter which fields reach the analytics store. Treat these settings as version-controlled configuration. Before each Open edX upgrade, compare the event fields captured before and after the change in a staging environment, and record who approved the change. Upgrade notes for each named release are the place to start that review.

Release notes

Review of identity-linked reports

Any report that reintroduces a name, email address or username needs an owner, a documented purpose and a limited audience. Keep a register of which dashboards or plugins add identification, and review it whenever a new course team asks for one. Ask your privacy or compliance lead to approve each entry, and confirm who may see personal data in each case.

Questions teams ask about learner privacy in Open edX analytics

Does Aspects hide learner names by default?

Aspects is designed so that its analytics pipeline does not identify learners by default, which keeps dashboards pseudonymous until your team adds identification. Tracking logs are converted to xAPI statements and stored in ClickHouse, then shown in Superset. Whether a particular report exposes names, emails or usernames depends on your installed plugins, your dashboard definitions and any custom charts. Before go-live, confirm the default behavior in the Aspects version you run by reviewing the stored fields and a sample dashboard export, because defaults can change between releases.

What makes learner data identifiable in Open edX reports?

Identification usually comes from add-on pieces rather than the core analytics flow. Common sources include plugins that attach user profile fields to events, custom queries that join to the LMS user table, and forwarding to an external learning record store with identifiers included. Each addition should be listed in a data inventory with the field names it introduces. Ask your team to trace one learner's events end to end, from the tracking log through the pipeline to every dashboard, so you know exactly where a name or email could appear.

Who on the course team can see personal data in analytics?

Access is decided by your Superset roles, dashboard permissions and any database accounts you give analysts, not by the course team's LMS role alone. Instructors, course staff, institution analysts and platform operators often need different levels of detail. Write down which group may see pseudonymous aggregates, which may see row-level identifiers and which may export data, then configure each access level and test it with a sample account. Revisit the matrix whenever you add a course team or a new dashboard.

How long does a privacy review of Open edX analytics take?

The duration depends on how many data sources and dashboards are in scope, how many plugins add fields, and how quickly your legal, privacy and security reviewers can answer questions. A review limited to the default Aspects setup is shorter than one covering a custom xAPI forwarder, several institutions and external exports. Ask any partner for a written scope and timeline before work starts, and ask your privacy office which artifacts it needs, such as a data inventory, retention settings and access matrix.

What does configuring learner privacy cost, and what drives it?

Cost comes from the people who do the work: your engineers, analysts and privacy reviewers, plus any partner you hire. Most of the effort is one-time: mapping data flows, reviewing plugins, setting access roles and testing dashboards. Recurring effort appears when you upgrade Open edX, add courses or dashboards, or change retention rules. The biggest drivers are the number of identifying fields you choose to keep, how many dashboards and exports exist, and how many institutions share one platform. When requesting a quote, ask for the scope of data sources, the access roles to configure, the test cases and the handover documentation.

Can our own team set up learner privacy without outside help?

Yes, if you have people who understand the Aspects pipeline, Superset access controls and your privacy obligations. A team that knows the LMS and the analytics stack can complete the inventory, configure roles and test dashboards. Teams often bring in outside help for the privacy review itself, for an independent check of fields and exports, or when their staff are busy with upgrades. DeployOpen plans, implements and documents self-hosted Open edX work in your infrastructure, and it prepares evidence for compliance assessments, but it does not issue audit reports or certifications.

What does our team need to provide for the privacy work?

The work needs access to the environment and the people who know the data. Typical inputs are a list of courses, institutions and learner groups, the Aspects and plugin versions in use, your retention and data-sharing rules, read access to the analytics stack and Superset, and named reviewers from privacy, legal and security. Ask for a written list of inputs in any proposal so delays are visible early. Your team also needs to decide which identifiers are allowed in each report, because that decision cannot be delegated to an implementer.

Do upgrades change Open edX privacy settings?

They can. A new Open edX release or Aspects version may change default fields, plugin behavior, database schemas or dashboard templates, so a setting that was safe before may expose more data after an upgrade. Treat each upgrade as a privacy checkpoint: rerun the data inventory, compare sample events and exports against the previous version, and retest role-based access. Check the release notes for the version you plan to move to before scheduling the change, and keep a record of the results for your compliance file.

How DeployOpen works on this

DeployOpen scopes learner privacy in Open edX analytics as a written, fixed-scope piece of work inside your own infrastructure. We start from what your Aspects pipeline reports today, then decide with your privacy and course team leads which identifying fields, if any, may reach which roles. The result is a documented control set your compliance team can review.

How we scope

  • Inventory every Aspects report, dashboard and xAPI forward to record which fields identify learners.
  • Agree in writing which roles may see identifiable data, with named owners for each decision.
  • Define which plugins are allowed to add identifiers and which must stay disabled in production.

How we build

  • Configure the Aspects pipeline and Superset access so course teams receive pseudonymous views by default.
  • Restrict database and dashboard permissions so personal data is reachable only by approved roles.
  • Test the configuration by checking sample exports and dashboard queries against the agreed field list.

How we hand over

  • Deliver a written record of the identifier decisions, role grants and plugin settings in your environment.
  • Document the steps to re-run access checks after an Open edX upgrade or a new Aspects release.
  • Walk your analytics and compliance staff through the controls so they can review them independently.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer for changes to reporting.
  • Ask us to confirm any new plugin or dashboard against the agreed field list before it reaches learners' data.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.