PromucFlow_constructor/app/server
Trisha Anand 481988daf1
chore: Disable anonymous user tracking when feature flag turned on (#40936)
## Description
> [!TIP]  
> _Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content, marketing, and DevRel team)._
>
> _Please also include relevant motivation and context. List any
dependencies that are required for this change. Add links to Notion,
Figma or any other documents that might be relevant to the PR._


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/test sanity

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/15996654359>
> Commit: ba524fe2f769b6f8d2c72e0332560dd5e0c0465e
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15996654359&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 01 Jul 2025 11:08:01 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Introduced a feature flag to control event tracking for anonymous
users.
* Added the ability to block analytics event tracking for anonymous
users when the feature flag is enabled.

* **Bug Fixes**
* Improved logic to ensure analytics events are not sent for anonymous
users if the feature flag is active.

* **Chores**
* Updated analytics initialization to respect the new tracking
preference for anonymous users.
* Enhanced tracking initialization flow to conditionally enable or
disable analytics based on user status and feature flag.
* Added tests to verify analytics initialization respects user tracking
preferences.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: jacquesikot <jacquesikot@gmail.com>
2025-07-02 00:20:51 -07:00
..
.run feat: Databricks plugin (#29746) 2023-12-26 10:04:09 +05:30
appsmith-git chore: revert in-memory git status (CE) (#40971) 2025-06-18 21:00:05 +05:30
appsmith-interfaces chore: Disable anonymous user tracking when feature flag turned on (#40936) 2025-07-02 00:20:51 -07:00
appsmith-plugins chore: added automatic option to run behaviour behind feature flag (#40608) 2025-05-16 16:29:31 +05:30
appsmith-server chore: Disable anonymous user tracking when feature flag turned on (#40936) 2025-07-02 00:20:51 -07:00
envs chore: Move signup_disabled and form_login_enabled from envs to DB (#39882) 2025-03-26 11:26:00 +05:30
mongo-seed
reactive-caching feat: Add instanceId to distributed lock keys for multi-instance isolation (#40966) 2025-06-19 12:20:59 +05:30
scripts chore: Revert "chore: delete redundant files" (#35022) 2024-07-18 16:18:10 +05:30
.gitignore chore: Removed failed tests file from git (#29602) 2023-12-14 13:02:36 +05:30
build.sh test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
buildpack-run.sh
pom.xml chore: Added capability of running ITs on maven (#38354) 2024-12-25 02:08:49 +05:30
Procfile
README.md
system.properties

Appsmith Server

This is the server-side repository for the Appsmith framework.

For details on setting up your development machine, please refer to this Setup Guide.