Skip to content

Commit

Permalink
Merge pull request #4963 from GSA/removes-top-search-terms
Browse files Browse the repository at this point in the history
removes top search terms report builder
  • Loading branch information
btylerburton authored Nov 4, 2024
2 parents ab8665d + 1a1bf02 commit 36f85d8
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions metrics/datagov_metrics/ga.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,39 +141,6 @@ def setup_global_reports():
"metrics": [{"name": "screenPageViews"}],
}

global_reports["global__top_search_terms__last30"] = {
"dateRanges": date_range_last_month(),
"dimensions": [{"name": "searchTerm"}],
"limit": SEARCH_RESULTS_LIMIT,
"dimensionFilter": {
"andGroup": {
"expressions": [
{
"notExpression": {
"filter": {
"fieldName": "searchTerm",
"stringFilter": {"matchType": "EXACT", "value": ""},
}
}
},
{
"notExpression": {
"filter": {
"fieldName": "searchTerm",
"stringFilter": {
"matchType": "EXACT",
"value": "Search datasets...",
},
}
}
},
]
}
},
"metrics": [{"name": "eventCount"}],
"orderBys": [{"metric": {"metricName": "eventCount"}, "desc": True}],
}

global_reports["global__device_category__last30"] = {
"dateRanges": date_range_last_month(),
"dimensions": [{"name": "deviceCategory"}],
Expand Down

0 comments on commit 36f85d8

Please sign in to comment.