mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Updated pages and referrer filters to merge urls.
This commit is contained in:
parent
e75593443a
commit
3a515b56b2
21 changed files with 342 additions and 137 deletions
28
components/metrics/ReferrersTable.js
Normal file
28
components/metrics/ReferrersTable.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
import React from 'react';
|
||||
import MetricsTable from './MetricsTable';
|
||||
import { refFilter } from 'lib/filters';
|
||||
|
||||
export default function Referrers({
|
||||
websiteId,
|
||||
websiteDomain,
|
||||
startDate,
|
||||
endDate,
|
||||
limit,
|
||||
onExpand = () => {},
|
||||
}) {
|
||||
return (
|
||||
<MetricsTable
|
||||
title="Referrers"
|
||||
type="referrer"
|
||||
metric="Views"
|
||||
headerComponent={null}
|
||||
websiteId={websiteId}
|
||||
startDate={startDate}
|
||||
endDate={endDate}
|
||||
limit={limit}
|
||||
dataFilter={refFilter}
|
||||
filterOptions={{ domain: websiteDomain }}
|
||||
onExpand={onExpand}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue