diff --git a/services/web/app/src/Features/Project/ProjectController.js b/services/web/app/src/Features/Project/ProjectController.js index 67996be105..2b55d500ee 100644 --- a/services/web/app/src/Features/Project/ProjectController.js +++ b/services/web/app/src/Features/Project/ProjectController.js @@ -600,7 +600,18 @@ const ProjectController = { SplitTestHandler.getAssignment(req, res, 'ide-page', cb) }, writefullIntegrationAssignment(cb) { - SplitTestHandler.getAssignment(req, res, 'writefull-integration', cb) + if (anonymous) { + // Disable allocation to split test for non-logged-in users. + // The in-editor promotion is only relevant for logged-in users. + cb() + } else { + SplitTestHandler.getAssignment( + req, + res, + 'writefull-integration', + cb + ) + } }, compileLogEventsAssignment(cb) { SplitTestHandler.getAssignment(req, res, 'compile-log-events', cb)