fix: Use category and action if not matomo

This commit is contained in:
2024-03-07 16:08:21 +01:00
parent 09556ba6e0
commit 23bf3c3a82
4 changed files with 20 additions and 78 deletions

View File

@ -139,6 +139,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