Know more about Page Events records 'parameters' value.
Hello Community,
Can I get to know more about what kind of information is stored in the `parameters` value of Page Events records?
Does it store the query params? Like `https://pendo.io?language=english`
{'language': 'english'}
Sample Page Events record:
{
"results": [{
"accountId": "Acme Corp",
"visitorId": "10",
"numEvents": 1,
"numMinutes": 1,
"server": "www.pendosandbox.com",
"remoteIp": "110.227.245.175",
"parameters": null,
"userAgent": "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36",
"day": 1506484800000,
"pageId": "aJ0KOADQZVL5h9zQhiQ0q26PNTM"
}
]
}
What will be the `parameters` value if the URL is: `https://www.pendosandbox.com/features/test/`
Thank you.
0
Comments
{"results": [{
"accountId": "Acme Corp",
"visitorId": "10",
"numEvents": 1,
"numMinutes": 1,
"server": "www.pendosandbox.com",
"remoteIp": "110.227.245.175",
"parameters": {
"parameter": "test"
},
"userAgent": "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36",
"day": 1506484800000,
"pageId": "aJ0KOADQZVL5h9zQhiQ0q26PNTM"
}
]
}
To add onto what Alisyn wrote, here is some more information in pulling parameter information via the API:
You can use the aggregations endpoint (https://app.pendo.io/api/v1/aggregation), specifically the pageEvents source. You can get aggregated data at the hour/day level.
Example call asking for events for a specific page for the previous day.
Example response excerpt. Notice how this visitor has two separate responses because of the different parameter.
If desired, here's how you could filter for a specific parameter for a specific page
{
"response": {},
"request": {
"name": "ExampleAggregation",
"pipeline": [{
"source": {
"pageEvents": {
"pageId": "ABC3amaLg-TNYXwkU3ht4zJh-Pg"
},
"timeSeries": {
"period": "dayRange",
"first": "now()",
"count": -1
}
}
},
{
"filter": "parameters.parameter == `helparticle-1`"
},
{
"limit": 100
}
],
"requestId": "ExampleAggregation"
}
}
Example response
{"startTime": 1629788400000,
"results": [{
"accountId": "fakeaccount1",
"appId": -323232,
"day": 1629788400000,
"pageId": "ABC3amaLg-TNYXwkU3ht4zJh-Pg",
"numEvents": 3,
"numMinutes": 3,
"remoteIp": "76.90.115.123",
"server": "clientname.io",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36",
"visitorId": "fakevisitor1",
"parameters": {
"parameter": "helparticle-1
"
}
}]
}
Please sign in to leave a comment.