For the trackViews function, metadata can be attached within the callback method.
Dashboard:
I think the best approach is to add a new Custom events panel tab called "Pageview properties".
It will contain a list of properties that exist (like "author" or "storyType").
If user clicks on "author", they will see a list of values, how many pages exist with these values and % like "Andrii", "Tom", "John", etc.
Users should also be able to add these metavalues as filers.
API:
I suppose the approach to store metadata for pageviews should not be different from how we store custom events metadata.
Tracking script: Let's add support for metadata parameters like:
For the
trackViews
function, metadata can be attached within the callback method.Dashboard: I think the best approach is to add a new Custom events panel tab called "Pageview properties". It will contain a list of properties that exist (like "author" or "storyType").
If user clicks on "author", they will see a list of values, how many pages exist with these values and % like "Andrii", "Tom", "John", etc.
Users should also be able to add these metavalues as filers.
API: I suppose the approach to store metadata for pageviews should not be different from how we store custom events metadata.