remove google analytics

This commit is contained in:
Phillip Thelen
2025-09-10 12:50:41 +02:00
parent a2b5e3621e
commit cd58ce2233
5 changed files with 2 additions and 31 deletions

View File

@@ -261,7 +261,7 @@ function _updateProperties (properties, uuid) {
.catch(err => logger.error(err, 'Error while sending data to Amplitude.'));
}
// There's no error handling directly here because it's handled inside _sendDataTo{Amplitude|Google}
// There's no error handling directly here because it's handled inside _sendDataToAmplitude
async function track (eventType, data, loggerOnly = false) {
const { user } = data;
if (!user || !user.preferences || !user.preferences.analyticsConsent) {
@@ -280,7 +280,7 @@ async function track (eventType, data, loggerOnly = false) {
}
// There's no error handling directly here because
// it's handled inside _sendPurchaseDataTo{Amplitude|Google}
// it's handled inside _sendPurchaseDataToAmplitude
async function trackPurchase (data) {
const { user } = data;
if (!user || !user.preferences || !user.preferences.analyticsConsent) {