mixpanel-php icon indicating copy to clipboard operation
mixpanel-php copied to clipboard

Cannot use library to import or use groups

Open zoe-edwards opened this issue 4 years ago • 4 comments

I’ve noticed the following endpoints are missing

  • /import
  • /groups

Any idea if/when these might be added?

Also asked here: https://community.mixpanel.com/sending-data-to-mixpanel-11/import-and-groups-missing-from-php-library-5137

zoe-edwards avatar Feb 16 '21 17:02 zoe-edwards

Hi,

Mixpanel support told me to open an issue here, and I've found this one that relates to my need. There is no way to update group profile from the PHP SDK.

In the meantime, the support operator also suggested me the following:

You can create a group producer with the PHP library. The folder I linked has a producer for both events and people. What you can do is copy the people producer, but modify it so it is able to hit our group HTTP API with the correctly formatted data.

Cheers!

jsilvestre avatar Apr 02 '21 11:04 jsilvestre

#63 I just made a pull request that should address this issue

mt-gareth avatar Sep 14 '21 23:09 mt-gareth

Hi, any update on this? We've just paid for the add-on and would like to use our PHP integration to create group profiles :)

aakarim avatar Oct 28 '21 11:10 aakarim

You can copy the code from the pull request I made, it will give you the functionality.

mcdonagg avatar Oct 29 '21 04:10 mcdonagg