diff --git a/components/metrics/RealtimeLog.js b/components/metrics/RealtimeLog.js index 18f064e8..6c39dd87 100644 --- a/components/metrics/RealtimeLog.js +++ b/components/metrics/RealtimeLog.js @@ -101,6 +101,7 @@ export default function RealtimeLog({ data, websites }) { os, country, device, + website_id, }) { if (event_type) { return ( @@ -110,7 +111,17 @@ export default function RealtimeLog({ data, websites }) { ); } if (view_id) { - return url; + const domain = getWebsite({ website_id }); + return ( + + {url} + + ); } if (session_id) { return ( diff --git a/components/metrics/RealtimeLog.module.css b/components/metrics/RealtimeLog.module.css index 99335a52..6fb09a64 100644 --- a/components/metrics/RealtimeLog.module.css +++ b/components/metrics/RealtimeLog.module.css @@ -44,3 +44,12 @@ text-overflow: ellipsis; overflow: hidden; } + +.row .link { + color: var(--gray900); + text-decoration: none; +} + +.row .link:hover { + color: var(--primary400); +}