added debug log back
This commit is contained in:
parent
f41ac47c3e
commit
bf771998a8
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ const sendGoogleAnalyticsEvent = (ip, params) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return logger.error('Google Analytics Event Error >>', err);
|
return logger.error('Google Analytics Event Error >>', err);
|
||||||
}
|
}
|
||||||
|
logger.debug(`Event successfully sent to google analytics`, params);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -41,6 +42,7 @@ const sendGoogleAnalyticsTiming = (siteTitle, params) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
return logger.error('Google Analytics Event Error >>', err);
|
return logger.error('Google Analytics Event Error >>', err);
|
||||||
}
|
}
|
||||||
|
logger.debug(`Event successfully sent to google analytics`, params);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue