如何使用 Mixpanel API 获取用户执行的事件列表

问题描述 投票:0回答:2

我需要一个 API 来获取用户执行的所有事件。我们正在使用 Mixpanel engage API 端点来获取用户的设备特定数据。但似乎找不到任何 API 可以通过用户 ID 或手机号码获取用户执行的事件。如果有人知道 mixpanel 提供的此类 API,将不胜感激。提前致谢。

我尝试了这些文档中提供的以下端点

api events endpoint mixpanel moengage
2个回答
0
投票

更新: 我通过使用 mixpanel 的https://developer.mixpanel.com/reference/activity-stream-query 找到了解决方案 Api 端点。万一有人在寻找答案。


0
投票
(function(c,a){if(!a.__SV){var b=window;try{var d,m,j,k=b.location,f=k.hash;d=function(a,b) {return(m=a.match(RegExp(b+"=([^&]*)")))?m[1]:null};f&&d(f,"state")&&(j=JSON.parse( decodeURIComponent(d(f,"state"))),"mpeditor"===j.action&&(b.sessionStorage.setItem("_mpcehash",f),history.replaceState(j.desiredHash||"",c. title,k.pathname+k.search)))}catch(n){}var l,h;window.mixpanel=a;a._i=[];a.init=function(b,d,g){函数 c(b,i){var a=i.split(".");2==a.length&&(b=b[a[0]],i=a[1]);b[i]= function(){b.push([i].concat(Array.prototype.slice.call(arguments,0)))}}var e=a;"undefined"!==typeof g?e=a[g] =[]:g="mixpanel";e.people=e.people||[];e.toString=function(b){var a="mixpanel";"mixpanel"!==g&&(a+=". "+g);b||(a+=" (stub)");return a};e.people.toString=function(){return e.toString(1)+".people (stub)"};l ="禁用 time_event track track_pageview track_links track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_out_tracking clear_opt_in_out_tracking people.set people.set_once people.unset people.increment people.append people.union_people.track_charge people. .delete_user people.remove".split(" ");for(h=0;hmixpanel.init("projecttoken");

© www.soinside.com 2019 - 2024. All rights reserved.