@@ -92,8 +92,7 @@ def emit_segment_user_tracker
92
92
name : "#{ controller_name } ##{ action_name } " ,
93
93
properties : {
94
94
url : request . original_url ,
95
- user_email : current_user . email ,
96
- dq_user_id : current_user . single_sign_on_record . external_id
95
+ user_email : current_user . email
97
96
} ,
98
97
context : {
99
98
ip : request . ip ,
@@ -124,8 +123,7 @@ def emit_segment_post_created
124
123
created_at : created_at ,
125
124
since_topic_created : ( created_at - topic . created_at ) . to_i ,
126
125
reply_to_post_number : reply_to_post_number ,
127
- user_email : user . email ,
128
- dq_user_id : user . single_sign_on_record . external_id
126
+ user_email : user . email
129
127
}
130
128
)
131
129
end
@@ -143,8 +141,7 @@ def emit_segment_topic_created
143
141
slug : slug ,
144
142
title : title ,
145
143
url : url ,
146
- user_email : user . email ,
147
- dq_user_id : user . single_sign_on_record . external_id
144
+ user_email : user . email
148
145
}
149
146
)
150
147
end
@@ -178,8 +175,7 @@ def emit_segment_post_liked
178
175
post_id : target_post_id ,
179
176
topic_id : target_topic_id ,
180
177
like_count : target_topic . like_count ,
181
- user_email : user . email ,
182
- dq_user_id : user . single_sign_on_record . external_id
178
+ user_email : user . email
183
179
}
184
180
)
185
181
end
0 commit comments