2016-11-24 15:47:41 -05:00
|
|
|
/*eslint no-unused-vars: "off"*/
|
2016-07-20 15:27:15 +02:00
|
|
|
export class AnalyticsAdapter {
|
2016-08-07 23:02:53 -04:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
@param parameters: the analytics request body, analytics info will be in the dimensions property
|
|
|
|
|
@param req: the original http request
|
|
|
|
|
*/
|
2016-07-20 15:27:15 +02:00
|
|
|
appOpened(parameters, req) {
|
|
|
|
|
return Promise.resolve({});
|
|
|
|
|
}
|
2016-08-07 23:02:53 -04:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
@param eventName: the name of the custom eventName
|
|
|
|
|
@param parameters: the analytics request body, analytics info will be in the dimensions property
|
|
|
|
|
@param req: the original http request
|
|
|
|
|
*/
|
2016-07-20 15:27:15 +02:00
|
|
|
trackEvent(eventName, parameters, req) {
|
|
|
|
|
return Promise.resolve({});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default AnalyticsAdapter;
|