fix: Use category and action if not matomo
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit

This commit is contained in:
2024-03-07 16:08:21 +01:00
parent eed20367b9
commit e4ada4b543
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