使用Mixpanel Raw Export API导出事件时distinct_id过滤失效求助
Mixpanel Raw Export API 按distinct_id过滤无结果问题
我可以通过Mixpanel Raw Export API成功下载事件,以下是按city字段过滤的可行代码示例:
import requests url = "https://data.mixpanel.com/api/2.0/export?project_id=<project id>&from_date=2023-11-16&to_date=2023-11-16&limit=10&where=properties%5B%22%24city%22%5D%20%3D%3D%20%22San%20Antonio%22" headers = { "accept": "text/plain", "authorization": "Basic <token>" } response = requests.get(url, headers=headers) print(response.text)
但尝试按distinct_id属性过滤(已知该ID存在匹配事件)时,却返回0条事件(状态码200),对应代码示例如下:
import requests url = "https://data.mixpanel.com/api/2.0/export?project_id=<project id>&from_date=2023-11-16&to_date=2023-11-16&limit=10&where=properties%5B%22distinct_id%22%5D%20%3D%3D%20%22fa1bd247-b252-498a-bace-6b31f876f09%22" headers = { "accept": "text/plain", "authorization": "Basic <token>" } response = requests.get(url, headers=headers) print(response.text)
我能正常过滤其他UUID字符串类型属性,格式或长度并非问题。请问为何唯独distinct_id无法过滤?我是否遗漏了什么?
内容的提问来源于stack exchange,提问作者sigma1510
相关产品推荐
相关产品推荐

