File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ impl Event {
45
45
res
46
46
}
47
47
48
+ /// Add a property to the event
49
+ ///
48
50
/// Errors if `prop` fails to serialize
49
51
pub fn insert_prop < K : Into < String > , P : Serialize > (
50
52
& mut self ,
@@ -58,7 +60,8 @@ impl Event {
58
60
}
59
61
60
62
/// Capture this as a group event. See https://posthog.com/docs/product-analytics/group-analytics#how-to-capture-group-events
61
- /// Note that group events cannot be personless.
63
+ /// Note that group events cannot be personless, and will be automatically upgraded to include person profile processing if
64
+ /// they were anonymous. This might lead to "empty" person profiles being created.
62
65
pub fn add_group ( & mut self , group_name : & str , group_id : & str ) {
63
66
// You cannot disable person profile processing for groups
64
67
self . insert_prop ( "$process_person_profile" , true )
You can’t perform that action at this time.
0 commit comments