Inside this GraphQL query for Website Analytics:
It would be great to have an ability to filter a dimension with regex.
query {
viewer {
accounts(filter: {accountTag: "redacted"}) {
rumPageloadEventsAdaptiveGroups(
filter: {
datetime_gt: "2022-11-10T23:59:59Z"
requestPath_like: "/pizza/%"
# requestPath - need regex to filter out
}
limit: 10000
orderBy: [count_DESC]
) {
count
sum {
visits
}
dimensions {
requestPath
}
}
}
}
}