Question

I am trying to set group key and id, mixpanel is always considering the id as array. I want it as number only

  • 7 December 2021
  • 2 replies
  • 21 views

        Mixpanel.mainInstance().setGroup(groupKey: "business_reference", groupID: Int(setting.businessReference))


2 replies

Badge +1

Hello

From what it seams you need to put the value in quotes. Im not sure if int is accepted.

Once you do that the Group Analysis should work as expected

 

Hello @alon ,

Set group id accept int or string, there is not issues here. Group id is always an array.

Reply