Segment Feature Clicks by Parameterized ID
I'm trying to understand how to run data on feature clicks, but be able to segment feature click counts by unique ID. The unique ID in question is an ID we're tracking as a parameter on the page, and the clicks are being tracked as a feature on that same page. All of the data is there and being tracked - we just can't figure out how to see the results together.
For example, ideally I'd like to run a report where, instead of 15 clicks on the feature overall, I'd be able to something like (rough example) this (where the ID represents the page parameter):
ID 123: 3 clicks
ID 456: 9 clicks
ID 789: 3 clicks
Is this possible? If so, some guidance on how to accomplish this would be awesome!
-
I believe the data you're looking for is already present within the Page details screen. Scrolling immediately below the timeseries plot of Weekly/Monthly Page Views, there is a table that should be titled "Top Parameters" that lists your unique IDs and the number of Page clicks per identifier.
Or are you looking for something else?
-
That particular component is backed by an Aggregations API query, which means you could pull the full list via API. But I do not believe there is an in-product place to find that data.
You can find more about our API in our docs: https://developers.pendo.io/docs/?bash#aggregation
And here's a sample query behind that component (some updates would be required for your purposes):
{
"name": "TopPageParameters",
"pipeline": [
{
"source": {
"pageEvents": {
"pageId": "<PageID>",
"blacklist": "apply"
},
"timeSeries": {
"period": "dayRange",
"first": 1585108800000,
"count": 552
}
}
},
{
"filter": "!isNull(parameters.parameter) && parameters.parameter != \"\""
},
{
"group": {
"group": [
"pageId",
"parameters.parameter"
],
"fields": [
{
"numEvents": {
"sum": "numEvents"
}
}
]
}
},
{
"sort": [
"-numEvents"
]
},
{
"limit": 100
}
],
"requestId": "TopPageParameters-rId-..."
}
Please sign in to leave a comment.
Comments
3 comments