Skip to main content

Hey, anyone knows how to calculate page level metrics (keeping constant Page URL dimension).

What I need to to build a table with:

Page URL > Page viewed event > Engaged event > Page engagement rate

The page engagement rate is calculated as follows: (number of engaged events / number of page viewed events) * 100. However, I'm unsure how to calculate this in Amplitude. I’ve attempted various methods to implement this formula, but for some reason, the results don't align with the engaged/page viewed values when I use the calculator.

Again the metric must be page level, not session or user level.

Many thanks to anyone that can help

Hello Veronica,

Thanks for writing to Amplitude Support.

I understand you are trying to find a way to calculate page engagement rate ((e.g. number of engaged events/number of page viewed events) * 100) keeping constant Page URL dimension.

In this case, perhaps you could try using a custom formulas chart. To do so you can add a formula for %:totals of engaged events/totals of page viewed events and group by the page URL value. Here is an example chart from the Amplitude demo: https://app.amplitude.com/analytics/demo/chart/new/s2mi97co. Please note, the demo does not use exactly the event and property types you are referencing. Please feel free to use the demo chart as a reference for how you could build your chart.

I hope this helps! Let me know if you have any questions.

Best,

Jacenda


P.S. Checkout upcoming events and user meetups on our events page.
Hi Veronica,

Thanks for sharing the chart you've created. It seems like you're on the right track. Grouping the events by page URL as an event property is indeed the correct approach if you can't use Page URL as a user property.

Additionally, the formula is set up to accurately calculate your formula for the page engagement rate `%:(Engaged Events (e.g. Totals A) / Page Viewed Events (e.g. Totals B)`.
![](https://amplitude.zendesk.com/attachments/token/QsKVmq6Qe8yBLeJ2iXksNXFPs/?name=Screenshot+2024-11-25+at+9.35.47+AM.png)

I hope this helps! Feel free to let me know if you have any more questions.

Best,

Jacenda


P.S. Checkout upcoming events and user meetups on our events page.

Reply