Description=The AddEvent is a method to send a request with personalized information to be used by the BI team. This information is responsible to track any actions in the client app that use GVP. The data record on the GVP is completely personalized and can be used to Player, detail page, rent actions, etc. The information is recorded in a Mongo Data Base, it has a scalable resources to storage all information.
The Object sent send to the Event service has three parameters: Token, MediaInfo and EventData.
- The Token can be use logged or anonymoususer.
- The mediaInfo parameter is a cryptograph info that can be got in any methods that return the media url. ( see PlaybackService -> [[getMediaUrlGetMediaUrl]] ). By default the value is a empty string.
- The eventData is the object that represented by the [[AnalyticsEventItem]] and has all information wants storage about the action. It has the time event that the event was generated, the name of the event want wants to be grouped and all the other data about the event, like the pressed button, time recurred, position of navigation, and others. All values sent in the Data should be sent in key:value format separated by comma and each pair will create a new column in the table of Mongo data basestorage.
|
NOTE: To visualize register the dataUser information (context) in each event, a tool will parameter Context should be developed set to access on true inside the MIB ToolsAnalyticsEventItem. To don't get the information from the Token, graphicsthe parameter should be set to false. By default, summarizethe context parameter is true, statistics and more. Predict to 2.4.6 GVP versionit means that by default all values will be obtained from the token.
To visualize all data recorded, a tool will be developed to access on the MIB Tools, graphics, summarize, statistics and more. Predict to 2.4.6 GVP version.
|Parameters=
|ParamType=[[AnalyticsEventItem]]
|ParamRequired=required
|ParamDescription=The eventData parameter is an [[AnalyticsEvenItemAnalyticsEventItem]] object type and represent a set of data to register the event in the Mongo data base.
: e.g.
:: {
|ParamType=String
|ParamRequired=optional
|ParamDescription=This parameter can be found in the GetMediaURL [[GetMediaUrl]] and has all information about the Movie. Is passed, it will be used to assign the eventData with the movie. The default value is empty.