commit
This commit is contained in:
parent
298b880d83
commit
6eeae3712e
1 changed files with 8 additions and 1 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue