Solved

How to retrieve in-app message ID in Mixpanel?

  • 12 December 2018
  • 1 reply
  • 210 views

Userlevel 3
Badge

Mixpanel Android and iOS SDK allow to control in-app messages based on their IDs. However, I can't find a convenient way to retrieve an in-app message ID other than to debug code.

What is the best way to get in-app message ID?


icon

Best answer by jmalysz 14 December 2018, 23:45

View original

1 reply

Badge

Are you explicitly disabling auto-show functionality to control inapps manually at a specified trigger?


Message ID can be retrieved via the message URL in the builder or via API:

https://mixpanel.com/api/2.0/engage/campaigns?project_id=[project_id]


Showing message by ID in a mobile app requires that you build the message ahead of app release and plan ahead. Don't expose the above request in your client app as it would require exposing your API Secret.


Reply