File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
Analytics/Integrations/Taplytics Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,19 @@ - (void)track:(NSString *)event properties:(NSDictionary *)properties options:(N
68
68
}
69
69
}
70
70
71
+ - (void )group : (NSString *)groupId traits : (NSDictionary *)traits options : (NSDictionary *)options {
72
+ NSMutableDictionary *userAttributes = [[NSMutableDictionary alloc ] init ];
73
+
74
+ if (groupId && [groupId length ] > 0 )
75
+ [userAttributes setObject: groupId forKey: @" groupId" ];
76
+
77
+ if (traits && [[traits allKeys ] count ] > 0 )
78
+ [userAttributes setObject: traits forKey: @" groupTraits" ];
79
+
80
+ if (userAttributes.count > 0 )
81
+ [Taplytics setUserAttributes: userAttributes];
82
+ };
83
+
71
84
- (void )reset {
72
85
[Taplytics resetUser: ^{
73
86
SEGLog (@" Reset Taplytics User" );
Original file line number Diff line number Diff line change 26
26
- Quantcast-Measure (1.4.6):
27
27
- Quantcast-Measure/Core (= 1.4.6)
28
28
- Quantcast-Measure/Core (1.4.6)
29
- - Taplytics (2.1.86 )
29
+ - Taplytics (2.1.88 )
30
30
- Tapstream (2.8.3)
31
31
- TRVSDictionaryWithCaseInsensitivity (0.0.2)
32
32
- TRVSKit/TRVSAssertions (0.0.9):
@@ -49,7 +49,7 @@ DEPENDENCIES:
49
49
- OCMock (~> 2.2.4)
50
50
- Optimizely-iOS-SDK (= 1.0.81)
51
51
- Quantcast-Measure (= 1.4.6)
52
- - Taplytics (= 2.1.86 )
52
+ - Taplytics (= 2.1.88 )
53
53
- Tapstream (= 2.8.3)
54
54
- TRVSDictionaryWithCaseInsensitivity (= 0.0.2)
55
55
- TRVSKit/TRVSAssertions (~> 0.0.8)
@@ -70,7 +70,7 @@ SPEC CHECKSUMS:
70
70
OCMock: a6a7dc0e3997fb9f35d99f72528698ebf60d64f2
71
71
Optimizely-iOS-SDK: 33b0580735808a876f0b91a53ab25c7501bad082
72
72
Quantcast-Measure: 415d204ee4010b27493369e131cec09de1b5acf5
73
- Taplytics: b9ff3d3f778d807868b3b9f2d01016632b834c03
73
+ Taplytics: cca59691ece9738acfa153a07c02d823c77f1be2
74
74
Tapstream: 37f7339a7d8aa8cc92b045edbacc91ef7f4090c5
75
75
TRVSDictionaryWithCaseInsensitivity: 51d2ccf52c6d645d27b63467a98fa02c556e01b0
76
76
TRVSKit: cbc09d442ce631c6b0f9e4ee4fb666a96146e4b3
Original file line number Diff line number Diff line change 95
95
"name" : " Taplytics" ,
96
96
"dependencies" : [{
97
97
"name" : " Taplytics" ,
98
- "version" : " 2.1.86 "
98
+ "version" : " 2.1.88 "
99
99
}]
100
100
},
101
101
{
You can’t perform that action at this time.
0 commit comments