Mark experiment events as non interactive

Specifically, set the 'nonInteraction' segment event property to 1.
This commit is contained in:
Michael Terry
2020-03-06 14:39:04 -05:00
parent d846f8abcd
commit 605c986ff3
2 changed files with 2 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ class ExperimentWaffleFlag(CourseWaffleFlag):
'course_id': str(course_key) if course_key else None,
'bucket': bucket,
'is_staff': request.user.is_staff,
'nonInteraction': 1,
}
)

View File

@@ -104,6 +104,7 @@ class ExperimentWaffleFlagTests(SharedModuleStoreTestCase):
'bucket': 1,
'course_id': 'a/b/c',
'is_staff': self.user.is_staff,
'nonInteraction': 1,
},
}))