2016-11-24 15:47:41 -05:00
|
|
|
/*eslint no-unused-vars: "off"*/
|
2018-08-10 15:51:31 -04:00
|
|
|
/**
|
|
|
|
|
* @interface AnalyticsAdapter
|
2023-04-29 16:53:54 +02:00
|
|
|
* @module Adapters
|
2018-08-10 15:51:31 -04:00
|
|
|
*/
|
2016-07-20 15:27:15 +02:00
|
|
|
export class AnalyticsAdapter {
|
2018-08-10 15:51:31 -04:00
|
|
|
/**
|
|
|
|
|
@param {any} parameters: the analytics request body, analytics info will be in the dimensions property
|
|
|
|
|
@param {Request} req: the original http request
|
2016-08-07 23:02:53 -04:00
|
|
|
*/
|
2016-07-20 15:27:15 +02:00
|
|
|
appOpened(parameters, req) {
|
|
|
|
|
return Promise.resolve({});
|
|
|
|
|
}
|
2016-12-01 10:24:46 -08:00
|
|
|
|
2018-08-10 15:51:31 -04:00
|
|
|
/**
|
|
|
|
|
@param {String} eventName: the name of the custom eventName
|
|
|
|
|
@param {any} parameters: the analytics request body, analytics info will be in the dimensions property
|
|
|
|
|
@param {Request} req: the original http request
|
2016-08-07 23:02:53 -04:00
|
|
|
*/
|
2016-07-20 15:27:15 +02:00
|
|
|
trackEvent(eventName, parameters, req) {
|
|
|
|
|
return Promise.resolve({});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default AnalyticsAdapter;
|