Welcome to Portkey Forum

Updated 2 months ago

Can I Define More Granular User Analytics Rules on Portkey Without Fetching Additional Data?

At a glance
bonjour and happy new years! got a quick question. on the user param of the chat body schema, I can define the user etc and its fine. however let's say I have 3 platforms and the same user can access my app from any of these 3 platforms. currently im setting user=userid-platformid but for analytics theres no way for me to make more granular rules for example all users vs platform vs users on platform 1 etc. is there a way to do this on portkey or do I have to fetch data from portkey and run my own script?
W
1 comment
you can use metadata for this. you can set _user=johnsmith and platform=platformid
https://portkey.ai/docs/product/observability/metadata
Add a reply
Sign up and join the conversation on Discord