This commit is contained in:
Kulbhushan Kaushik 2022-11-17 09:23:29 -05:00
parent 298b880d83
commit 6eeae3712e

View file

@ -25,7 +25,14 @@ export default {
headers: headers,
})
.then((response) => {
if (logApiCall) {
analyticsMixIn.methods.pushEventToGA(
GaCategories.API_RESPONSE,
GaActions.RESULT,
`${GaLabels.SUCCESS}_${endpoint}`,
true
);
}
return resolve(response);
},
error => {