NOTE: if the new event platform schemas have temporary account support by default apologies in advance for this ticket.
== Background
The web UI click tracking schema will not cause any erroneous data when temporary accounts are enabled but as currently written it will not allow opportunities for analysing click tracking behaviour in temp accounts.
== User story
As a PM I want to analyse questions such as "how many temporary users click the logout button"
== Requirement
Add a temporary account identifier field (isTemp) to the web UI click tracking schema to enable analysis of click behavior among temporary account users. Update WikimediaEvents to the new schema version, ensuring all relevant events now include the isTemp field.
== BDD
```
Feature: Track click behavior for temporary accounts with isTemp field
Scenario: Include isTemp field in click tracking schema for temporary accounts
Given a user with a temporary account interacts with the UI
When the click tracking event fires in the web_ui_actions schema
Then the event should include the isTemp field
And the isTemp field should indicate that the user is a temporary account
```
== Test Steps
__Test Case 1: Verify isTemp Field in Web UI Click Tracking for Temporary Accounts__
1. Log in as a Temporary Account user.
2. Perform any UI interaction (e.g., click the logout button).
3. Open Chrome DevTools and go to the Network tab.
4. Filter by events, and look for the schema web_ui_actions.
5. **AC1**: Confirm that the isTemp field appears in the event data, showing that it identifies the user as a temporary account.
== Design
- Add mockups and design requirements
== Acceptance criteria
- Add acceptance criteria
== Communication criteria - does this need an announcement or discussion?
- Add communication criteria
== Rollback plan
- What is the rollback plan in production for this task if something goes wrong?
//This task was created by Version 1.2.0 of the [[ https://mediawiki.org/w/index.php?title=Reading/Web/Request_process | Web team task template ]] using [[ https://phabulous.toolforge.org/ | phabulous ]] //
== QA Results - Beta
| **AC** | **Status** | **Details** |
| ----- | ----- | ----- |
| 1 | ✅ | T377590#10302496 |