Merge pull request #1 from patmmccann/patmmccann-patch-1

add analytics break out
This commit is contained in:
Patrick McCann 2024-10-01 11:44:11 -04:00 committed by GitHub
commit 5256351ac5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,6 +91,8 @@ def classify_module(module_name):
return 'RTD Module'
elif 'IdSystem' in module_name or 'userId' in module_name:
return 'ID System'
elif 'Analytics' in module_name or 'analyticsAdapter' in module_name:
return 'Analytics Adapter'
else:
return 'Other'
@ -100,6 +102,7 @@ def extract_module_stats(data):
'Bid Adapter': Counter(),
'RTD Module': Counter(),
'ID System': Counter(),
'Analytics Adapter': Counter(),
'Other': Counter()
}