Changes

Jump to navigation Jump to search
280 bytes removed ,  14:56, 13 June 2014
no edit summary
{{Api_Method_Spec|
Description=The AddEventBatch is a method to add massive events in just one request. The same behavior of [[AddEvent]], the most common use is on mobile device (after stay offline during some time) or when the event events can be groupedsend in a group of events. On mobile device in a offline mode, all events that wants to add can be storage in a pool and it become online, send all data in one request to the AddEventBatch.
The difference between [[AddEvent]], is that the parameter eventData is an Array of [[AnalyticsEventItem]] that contains each event to add with his info like timestamp and event title.
NOTE: If needed send a batch informationEach event has the timestamp, attempt that the event name is the name that will group the information and the timestamp represent only one moment for all data sent. In other word, when defined a event name, a group of The data should parameter could be definedcreate with dynamic fields as needed.To create another batch entry is necessary to create It's sent in a new queue to group the other data under the new name sequence of the event but controlled by the client side App. The BI team should consider that each event is assigned to just one timestamp, so any metrics under this group event name should be happen in same timekey:value.
For example: If wants to send three groups of data and it has different name. The application should control the order to sent that.
: e.g.
:: {
::: Token: "",::: mediaInfo: "",::: eventData: [:::: "Timestamp" : "4315435114",:::: "Event" : "Navigation",:::: "Data" :::::: [:::::: {"ChannelListed": "channel_name1", "ProductId": "123" }:::::: {"PageViewed": "page_name1", "ProductId": "123" }:::::: {"ButtonClicked": "button_name1", "ProductId": "123" }:::::: {"ButtonClicked": "button_name2", "ProductId": "123" }:::::: {"PageViewed": "page_name2", "ProductId": "456" }::::: ]::: ]
:: }
}}
editor
725

edits

Navigation menu