用户工具

站点工具


差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
en:razor:windows-phone-developer-guide [2015/03/18 16:33]
cobub [3 API introduce]
en:razor:windows-phone-developer-guide [2017/07/14 11:18] (当前版本)
行 1: 行 1:
 +~~Title:​Cobub Razor Windows Phone Developer Guide - Mobile Apps Marketing Platform of Open Source - Mobile Analytics & Mobile Push Notification Solutions - Cobub Mobile Developer Center~~
 +{{description>​Cobub Razor is an Open Source Mobile Analytics. The goal of this document is to explain usage rules of Cobub Razor Windows Phone SDK for facilitating mobile app developers.}}
 +{{keywords>​Cobub Razor,open source mobile analytics,​mobile analytics,​mobile app analytics, windows phone, developer guide}}
 +
 ====== Cobub Razor Windows Phone Developer Guide ====== ====== Cobub Razor Windows Phone Developer Guide ======
-  * [[#​Overview|Overview]] + 
-  * [[#Basic Setup Guide|Basic Setup Guide]] +
-  * [[#API Reference|API Reference]]+
 ===== 1   ​Overview ===== ===== 1   ​Overview =====
 ==== 1.1   ​Documentation Goal ==== ==== 1.1   ​Documentation Goal ====
行 17: 行 20:
  
  
-Cobub Razor  - [[en:|The Open Source ​ Mobile Analytics]]+Cobub Razor  - [[en:start|The Open Source ​ Mobile Analytics]]
  
 ==== 1.4   ​Relevant Documentation ==== ==== 1.4   ​Relevant Documentation ====
行 117: 行 120:
  
 UMSAgent.UMSApi.onEvent(string event_id,​string pagename); UMSAgent.UMSApi.onEvent(string event_id,​string pagename);
-pagename: the reference of current page+**pagename**: the reference of current page
  
-event_id: the ID of current event, defined on  the Web Server and could not have spaces.+**event_id:** the ID of current event, defined on  the Web Server and could not have spaces.
  
 Invoke this API will send event info to the server and generate the event report on the server which analyzes sending times and changing trends corresponding to event_id, such as AD clicks, message numbers and so on. Invoke this API will send event info to the server and generate the event report on the server which analyzes sending times and changing trends corresponding to event_id, such as AD clicks, message numbers and so on.
  
-For example, to monitor AD clicks of App in “MainPage”,​ the Event ID  of which is “ ad_click“ defined on the Web Server, you need call UMSAgent.UMSApi.onEvent(“ad_click“,​ “MainPage”) in App , which will notify server that an AD click event has occurred.+For example, to monitor AD clicks of App in “**MainPage**”, the Event ID  of which is “ ad_click“ defined on the Web Server, you need call **UMSAgent.UMSApi.onEvent(“ad_click“,​ “MainPage”)** in App , which will notify server that an AD click event has occurred.
  
- ​UMSAgent.UMSApi.onEvent(string event_id, string pagename, string label);+ **UMSAgent.UMSApi.onEvent(string event_id, string pagename, string label);**
 This API is an overloaded method of onEvent(string event_id,​string pagename) which will monitor the proportion of specific label in event. The label is the devision name and event_id could not have spaces. This API is an overloaded method of onEvent(string event_id,​string pagename) which will monitor the proportion of specific label in event. The label is the devision name and event_id could not have spaces.
  
行 135: 行 138:
 Here is overloaded two APIs: Here is overloaded two APIs:
  
-UMSAgent.UMSApi.onEvent (string event_id, string pagename,​int acc); +**UMSAgent.UMSApi.onEvent (string event_id, string pagename,​int acc);** 
-UMSAgent.UMSApi.onEvent (string event_id, string pagename, string label,int acc);+ 
 +**UMSAgent.UMSApi.onEvent (string event_id, string pagename, string label,int acc);**
 acc: triggered times of corresponding event. acc: triggered times of corresponding event.
  
行 142: 行 146:
  
  
-UMSAgent.UMSApi. bindUserIdentifier(string userid);+**UMSAgent.UMSApi. bindUserIdentifier(string userid);** 
 userid : user account. userid : user account.
 You can bind user’s account information to your app when you call this function. You can bind user’s account information to your app when you call this function.
行 149: 行 154:
  
  
-UMSAgent.UMSApi.postTag(string tag);+**UMSAgent.UMSApi.postTag(string tag);** 
 Bind your user’s tag and send data to server. Bind your user’s tag and send data to server.
en/razor/windows-phone-developer-guide.1426667621.txt.gz · 最后更改: 2017/07/14 11:12 (外部编辑)