Updated pages and referrer filters to merge urls.

This commit is contained in:
Mike Cao 2020-08-22 19:05:07 -07:00
parent e75593443a
commit 3a515b56b2
21 changed files with 342 additions and 137 deletions

View 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}
/>
);
}