Custom Analytics Dashboards
💡 This features is available for Enterprise plans only
Builder allows you to track custom metrics to associate with how your content performs.
This can be great for use cases like
- Measuring A/B test performance by custom events, such as add to cart rates or average order value
- Breaking down impressions and conversions by which product was viewed or ordered
- Completely custom insights and dashboards associated with Builder content and sessions
Tracking custom events
Creating custom dashboards
You can create both global custom dashboards (to look at performance of content across entries) as well as per-entry custom dashboards (look at custom metrics on a per-content entry basis, such as custom views on a/b test winner).
Try create a global custom dashboard, go to builder.io/insights and choose + new dashboard.
To create a per-entry dashboard open up a piece of content in Builder, go to the insights tab and choose + new dashboard.
Querying custom properties
Custom properties are stored as JSON in the
metadata field. You can use
JSON_EXTRACT_SCALAR like in the example below
SELECT CONTENT_ID, COUNT(*) as count FROM @events WHERE AND type = "impression" AND JSON_EXTRACT_SCALAR(metadata, "$.productId") = "abc123" GROUP BY CONTENT_ID ORDER BY count DESC LIMIT 10