fix: Use category and action if not matomo

This commit is contained in:
2024-03-07 16:08:21 +01:00
parent 166026a766
commit 17aecbc8ec
4 changed files with 20 additions and 17 deletions

View File

@@ -176,6 +176,14 @@ class AnalyticsFileParser {
}
definition.action = action
} else {
if let category = event.category {
definition.category = category
}
if let action = event.action {
definition.action = action
}
}
return definition