Refactored referrer logic. Display stats for no referrers.

This commit is contained in:
Mike Cao 2022-07-21 01:11:10 -07:00
parent 0026b4b1ea
commit be8291c856
92 changed files with 687 additions and 450 deletions

View File

@ -1,5 +1,5 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { FormattedMessage } from 'react-intl'; import { useIntl, defineMessage } from 'react-intl';
import FilterLink from 'components/common/FilterLink'; import FilterLink from 'components/common/FilterLink';
import FilterButtons from 'components/common/FilterButtons'; import FilterButtons from 'components/common/FilterButtons';
import { urlFilter } from 'lib/filters'; import { urlFilter } from 'lib/filters';
@ -8,15 +8,26 @@ import MetricsTable from './MetricsTable';
export const FILTER_COMBINED = 0; export const FILTER_COMBINED = 0;
export const FILTER_RAW = 1; export const FILTER_RAW = 1;
export default function PagesTable({ websiteId, websiteDomain, showFilters, ...props }) { const messages = defineMessage({
combined: { id: 'metrics.filter.combined', defaultMessage: 'Combined' },
raw: { id: 'metrics.filter.raw', defaultMessage: 'Raw' },
pages: { id: 'metrics.pages', defaultMessage: 'Pages' },
views: { id: 'metrics.views', defaultMessage: 'View' },
});
export default function PagesTable({ websiteId, showFilters, ...props }) {
const [filter, setFilter] = useState(FILTER_COMBINED); const [filter, setFilter] = useState(FILTER_COMBINED);
const { formatMessage } = useIntl();
const buttons = [ const buttons = [
{ {
label: <FormattedMessage id="metrics.filter.combined" defaultMessage="Combined" />, label: formatMessage(messages.combined),
value: FILTER_COMBINED, value: FILTER_COMBINED,
}, },
{ label: <FormattedMessage id="metrics.filter.raw" defaultMessage="Raw" />, value: FILTER_RAW }, {
label: formatMessage(messages.raw),
value: FILTER_RAW,
},
]; ];
const renderLink = ({ x: url }) => { const renderLink = ({ x: url }) => {
@ -27,12 +38,11 @@ export default function PagesTable({ websiteId, websiteDomain, showFilters, ...p
<> <>
{showFilters && <FilterButtons buttons={buttons} selected={filter} onClick={setFilter} />} {showFilters && <FilterButtons buttons={buttons} selected={filter} onClick={setFilter} />}
<MetricsTable <MetricsTable
title={<FormattedMessage id="metrics.pages" defaultMessage="Pages" />} title={formatMessage(messages.pages)}
type="url" type="url"
metric={<FormattedMessage id="metrics.views" defaultMessage="Views" />} metric={formatMessage(messages.views)}
websiteId={websiteId} websiteId={websiteId}
dataFilter={urlFilter} dataFilter={filter !== FILTER_RAW ? urlFilter : null}
filterOptions={{ domain: websiteDomain, raw: filter === FILTER_RAW }}
renderLabel={renderLink} renderLabel={renderLink}
{...props} {...props}
/> />

View File

@ -1,31 +1,40 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import { FormattedMessage } from 'react-intl'; import { useIntl, defineMessages } from 'react-intl';
import MetricsTable from './MetricsTable'; import MetricsTable from './MetricsTable';
import FilterButtons from 'components/common/FilterButtons'; import FilterButtons from 'components/common/FilterButtons';
import FilterLink from 'components/common/FilterLink'; import FilterLink from 'components/common/FilterLink';
import { refFilter } from 'lib/filters'; import { refFilter } from 'lib/filters';
export const FILTER_DOMAIN_ONLY = 0; export const FILTER_COMBINED = 0;
export const FILTER_COMBINED = 1; export const FILTER_RAW = 1;
export const FILTER_RAW = 2;
export default function ReferrersTable({ websiteId, websiteDomain, showFilters, ...props }) { const messages = defineMessages({
combined: { id: 'metrics.filter.combined', defaultMessage: 'Combined' },
raw: { id: 'metrics.filter.raw', defaultMessage: 'Raw' },
referrers: { id: 'metrics.referrers', defaultMessage: 'Referrers' },
views: { id: 'metrics.views', defaultMessage: 'Views' },
none: { id: 'label.none', defaultMessage: 'None' },
});
export default function ReferrersTable({ websiteId, showFilters, ...props }) {
const [filter, setFilter] = useState(FILTER_COMBINED); const [filter, setFilter] = useState(FILTER_COMBINED);
const { formatMessage } = useIntl();
const none = formatMessage(messages.none);
const buttons = [ const buttons = [
{ {
label: <FormattedMessage id="metrics.filter.domain-only" defaultMessage="Domain only" />, label: formatMessage(messages.combined),
value: FILTER_DOMAIN_ONLY,
},
{
label: <FormattedMessage id="metrics.filter.combined" defaultMessage="Combined" />,
value: FILTER_COMBINED, value: FILTER_COMBINED,
}, },
{ label: <FormattedMessage id="metrics.filter.raw" defaultMessage="Raw" />, value: FILTER_RAW }, { label: formatMessage(messages.raw), value: FILTER_RAW },
]; ];
const renderLink = ({ w: link, x: referrer }) => { const renderLink = ({ w: link, x: referrer }) => {
return <FilterLink id="referrer" value={referrer} externalUrl={link} />; return referrer ? (
<FilterLink id="referrer" value={referrer} externalUrl={link} />
) : (
`(${none})`
);
}; };
return ( return (
@ -33,16 +42,11 @@ export default function ReferrersTable({ websiteId, websiteDomain, showFilters,
{showFilters && <FilterButtons buttons={buttons} selected={filter} onClick={setFilter} />} {showFilters && <FilterButtons buttons={buttons} selected={filter} onClick={setFilter} />}
<MetricsTable <MetricsTable
{...props} {...props}
title={<FormattedMessage id="metrics.referrers" defaultMessage="Referrers" />} title={formatMessage(messages.referrers)}
type="referrer" type="referrer"
metric={<FormattedMessage id="metrics.views" defaultMessage="Views" />} metric={formatMessage(messages.views)}
websiteId={websiteId} websiteId={websiteId}
dataFilter={refFilter} dataFilter={filter !== FILTER_RAW ? refFilter : null}
filterOptions={{
domain: websiteDomain,
domainOnly: filter === FILTER_DOMAIN_ONLY,
raw: filter === FILTER_RAW,
}}
renderLabel={renderLink} renderLabel={renderLink}
/> />
</> </>

View File

@ -37,6 +37,7 @@
"label.more": "المزيد", "label.more": "المزيد",
"label.name": "الإسم", "label.name": "الإسم",
"label.new-password": "كلمة مرور جديدة", "label.new-password": "كلمة مرور جديدة",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "كلمة المرور", "label.password": "كلمة المرور",
"label.passwords-dont-match": "كلمة المرور غير متطابقة", "label.passwords-dont-match": "كلمة المرور غير متطابقة",
@ -97,13 +98,13 @@
"metrics.devices": "الأجهزة", "metrics.devices": "الأجهزة",
"metrics.events": "الأحداث", "metrics.events": "الأحداث",
"metrics.filter.combined": "مجمعة", "metrics.filter.combined": "مجمعة",
"metrics.filter.domain-only": "نطاق فقط",
"metrics.filter.raw": "مفصلة", "metrics.filter.raw": "مفصلة",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "نظام التشغيل", "metrics.operating-systems": "نظام التشغيل",
"metrics.page-views": "مشاهدات الصفحة", "metrics.page-views": "مشاهدات الصفحة",
"metrics.pages": "الصفحات", "metrics.pages": "الصفحات",
"metrics.referrers": "التحويلات", "metrics.referrers": "التحويلات",
"metrics.screens": "Screens",
"metrics.unique-visitors": "زائرون فريدون", "metrics.unique-visitors": "زائرون فريدون",
"metrics.views": "مشاهدات", "metrics.views": "مشاهدات",
"metrics.visitors": "زوار" "metrics.visitors": "زوار"

View File

@ -37,6 +37,7 @@
"label.more": "Més", "label.more": "Més",
"label.name": "Nom", "label.name": "Nom",
"label.new-password": "Contrasenya nova", "label.new-password": "Contrasenya nova",
"label.none": "None",
"label.owner": "Propietari", "label.owner": "Propietari",
"label.password": "Contrasenya", "label.password": "Contrasenya",
"label.passwords-dont-match": "Les contrasenyes no coincideixen", "label.passwords-dont-match": "Les contrasenyes no coincideixen",
@ -97,13 +98,13 @@
"metrics.devices": "Dispositius", "metrics.devices": "Dispositius",
"metrics.events": "Esdeveniments", "metrics.events": "Esdeveniments",
"metrics.filter.combined": "Combinat", "metrics.filter.combined": "Combinat",
"metrics.filter.domain-only": "Només domini",
"metrics.filter.raw": "En cru", "metrics.filter.raw": "En cru",
"metrics.languages": "Llengües", "metrics.languages": "Llengües",
"metrics.operating-systems": "Sistemes operatius", "metrics.operating-systems": "Sistemes operatius",
"metrics.page-views": "Pàgines vistes", "metrics.page-views": "Pàgines vistes",
"metrics.pages": "Pàgines", "metrics.pages": "Pàgines",
"metrics.referrers": "Referents", "metrics.referrers": "Referents",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Visitants únics", "metrics.unique-visitors": "Visitants únics",
"metrics.views": "Vistes", "metrics.views": "Vistes",
"metrics.visitors": "Visitants" "metrics.visitors": "Visitants"

View File

@ -37,6 +37,7 @@
"label.more": "Více", "label.more": "Více",
"label.name": "Jméno", "label.name": "Jméno",
"label.new-password": "Nové heslo", "label.new-password": "Nové heslo",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Heslo", "label.password": "Heslo",
"label.passwords-dont-match": "Hesla se neschodují", "label.passwords-dont-match": "Hesla se neschodují",
@ -97,13 +98,13 @@
"metrics.devices": "Zařízení", "metrics.devices": "Zařízení",
"metrics.events": "Události", "metrics.events": "Události",
"metrics.filter.combined": "Kombinace", "metrics.filter.combined": "Kombinace",
"metrics.filter.domain-only": "Domény",
"metrics.filter.raw": "Nezpracované", "metrics.filter.raw": "Nezpracované",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Operační systém", "metrics.operating-systems": "Operační systém",
"metrics.page-views": "Zobrazení stránek", "metrics.page-views": "Zobrazení stránek",
"metrics.pages": "Stránky", "metrics.pages": "Stránky",
"metrics.referrers": "Odkazy", "metrics.referrers": "Odkazy",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Jedinečné návštěvy", "metrics.unique-visitors": "Jedinečné návštěvy",
"metrics.views": "Zobrazení", "metrics.views": "Zobrazení",
"metrics.visitors": "Návštěvy" "metrics.visitors": "Návštěvy"

View File

@ -37,6 +37,7 @@
"label.more": "Mere", "label.more": "Mere",
"label.name": "Navn", "label.name": "Navn",
"label.new-password": "Ny adgangskode", "label.new-password": "Ny adgangskode",
"label.none": "None",
"label.owner": "Ejer", "label.owner": "Ejer",
"label.password": "Adgangskode", "label.password": "Adgangskode",
"label.passwords-dont-match": "Adgangskoderne matcher ikke", "label.passwords-dont-match": "Adgangskoderne matcher ikke",
@ -97,13 +98,13 @@
"metrics.devices": "Enheder", "metrics.devices": "Enheder",
"metrics.events": "Hændelser", "metrics.events": "Hændelser",
"metrics.filter.combined": "Kombineret", "metrics.filter.combined": "Kombineret",
"metrics.filter.domain-only": "Kun domæne",
"metrics.filter.raw": "Rå", "metrics.filter.raw": "Rå",
"metrics.languages": "Sprog", "metrics.languages": "Sprog",
"metrics.operating-systems": "Operativsystemer", "metrics.operating-systems": "Operativsystemer",
"metrics.page-views": "Sidevisninger", "metrics.page-views": "Sidevisninger",
"metrics.pages": "Sider", "metrics.pages": "Sider",
"metrics.referrers": "Henvisninger", "metrics.referrers": "Henvisninger",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unikke besøgende", "metrics.unique-visitors": "Unikke besøgende",
"metrics.views": "Visninger", "metrics.views": "Visninger",
"metrics.visitors": "Besøgende" "metrics.visitors": "Besøgende"

View File

@ -37,6 +37,7 @@
"label.more": "Mehr", "label.more": "Mehr",
"label.name": "Name", "label.name": "Name",
"label.new-password": "Neues Passwort", "label.new-password": "Neues Passwort",
"label.none": "None",
"label.owner": "Besitzer", "label.owner": "Besitzer",
"label.password": "Passwort", "label.password": "Passwort",
"label.passwords-dont-match": "Passwörter stimmen nicht überein", "label.passwords-dont-match": "Passwörter stimmen nicht überein",
@ -97,15 +98,14 @@
"metrics.devices": "Geräte", "metrics.devices": "Geräte",
"metrics.events": "Ereignisse", "metrics.events": "Ereignisse",
"metrics.filter.combined": "Kombiniert", "metrics.filter.combined": "Kombiniert",
"metrics.filter.domain-only": "Nur diese Domain",
"metrics.filter.raw": "Rohdaten", "metrics.filter.raw": "Rohdaten",
"metrics.languages": "Sprachen", "metrics.languages": "Sprachen",
"metrics.operating-systems": "Betriebssysteme", "metrics.operating-systems": "Betriebssysteme",
"metrics.page-views": "Seitenaufrufe", "metrics.page-views": "Seitenaufrufe",
"metrics.pages": "Seiten", "metrics.pages": "Seiten",
"metrics.referrers": "Referrer", "metrics.referrers": "Referrer",
"metrics.screens": "Bildschirmauflösungen",
"metrics.unique-visitors": "Eindeutige Besucher", "metrics.unique-visitors": "Eindeutige Besucher",
"metrics.views": "Aufrufe", "metrics.views": "Aufrufe",
"metrics.visitors": "Besucher", "metrics.visitors": "Besucher"
"metrics.screens": "Bildschirmauflösungen"
} }

View File

@ -37,6 +37,7 @@
"label.more": "Περισσότερα", "label.more": "Περισσότερα",
"label.name": "Όνομα", "label.name": "Όνομα",
"label.new-password": "Νέος κωδικός", "label.new-password": "Νέος κωδικός",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Κωδικός", "label.password": "Κωδικός",
"label.passwords-dont-match": "Οι κωδικοί πρόσβασης δεν ταιριάζουν", "label.passwords-dont-match": "Οι κωδικοί πρόσβασης δεν ταιριάζουν",
@ -97,13 +98,13 @@
"metrics.devices": "Συσκευές", "metrics.devices": "Συσκευές",
"metrics.events": "Γεγονότα", "metrics.events": "Γεγονότα",
"metrics.filter.combined": "Σε συνδυασμό", "metrics.filter.combined": "Σε συνδυασμό",
"metrics.filter.domain-only": "Μόνο τομέας",
"metrics.filter.raw": "Ακατέργαστο", "metrics.filter.raw": "Ακατέργαστο",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Λειτουργικά συστήματα", "metrics.operating-systems": "Λειτουργικά συστήματα",
"metrics.page-views": "Προβολές σελίδας", "metrics.page-views": "Προβολές σελίδας",
"metrics.pages": "Σελίδες", "metrics.pages": "Σελίδες",
"metrics.referrers": "Παραπομπές", "metrics.referrers": "Παραπομπές",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Μοναδικοί επισκέπτες", "metrics.unique-visitors": "Μοναδικοί επισκέπτες",
"metrics.views": "Προβολές", "metrics.views": "Προβολές",
"metrics.visitors": "Επισκέπτες" "metrics.visitors": "Επισκέπτες"

View File

@ -37,6 +37,7 @@
"label.more": "More", "label.more": "More",
"label.name": "Name", "label.name": "Name",
"label.new-password": "New password", "label.new-password": "New password",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Password", "label.password": "Password",
"label.passwords-dont-match": "Passwords don't match", "label.passwords-dont-match": "Passwords don't match",
@ -97,15 +98,14 @@
"metrics.devices": "Devices", "metrics.devices": "Devices",
"metrics.events": "Events", "metrics.events": "Events",
"metrics.filter.combined": "Combined", "metrics.filter.combined": "Combined",
"metrics.filter.domain-only": "Domain only",
"metrics.filter.raw": "Raw", "metrics.filter.raw": "Raw",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Operating systems", "metrics.operating-systems": "Operating systems",
"metrics.page-views": "Page views", "metrics.page-views": "Page views",
"metrics.pages": "Pages", "metrics.pages": "Pages",
"metrics.referrers": "Referrers", "metrics.referrers": "Referrers",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unique visitors", "metrics.unique-visitors": "Unique visitors",
"metrics.views": "Views", "metrics.views": "Views",
"metrics.visitors": "Visitors", "metrics.visitors": "Visitors"
"metrics.screens": "Screens"
} }

View File

@ -37,6 +37,7 @@
"label.more": "More", "label.more": "More",
"label.name": "Name", "label.name": "Name",
"label.new-password": "New password", "label.new-password": "New password",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Password", "label.password": "Password",
"label.passwords-dont-match": "Passwords don't match", "label.passwords-dont-match": "Passwords don't match",
@ -97,15 +98,14 @@
"metrics.devices": "Devices", "metrics.devices": "Devices",
"metrics.events": "Events", "metrics.events": "Events",
"metrics.filter.combined": "Combined", "metrics.filter.combined": "Combined",
"metrics.filter.domain-only": "Domain only",
"metrics.filter.raw": "Raw", "metrics.filter.raw": "Raw",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Operating systems", "metrics.operating-systems": "Operating systems",
"metrics.page-views": "Page views", "metrics.page-views": "Page views",
"metrics.pages": "Pages", "metrics.pages": "Pages",
"metrics.referrers": "Referrers", "metrics.referrers": "Referrers",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unique visitors", "metrics.unique-visitors": "Unique visitors",
"metrics.views": "Views", "metrics.views": "Views",
"metrics.visitors": "Visitors", "metrics.visitors": "Visitors"
"metrics.screens": "Screens"
} }

View File

@ -37,6 +37,7 @@
"label.more": "Más", "label.more": "Más",
"label.name": "Nombre", "label.name": "Nombre",
"label.new-password": "Nueva contraseña", "label.new-password": "Nueva contraseña",
"label.none": "None",
"label.owner": "Propietario", "label.owner": "Propietario",
"label.password": "Contraseña", "label.password": "Contraseña",
"label.passwords-dont-match": "Las contraseñas no coinciden", "label.passwords-dont-match": "Las contraseñas no coinciden",
@ -97,13 +98,13 @@
"metrics.devices": "Dispositivos", "metrics.devices": "Dispositivos",
"metrics.events": "Eventos", "metrics.events": "Eventos",
"metrics.filter.combined": "Combinado", "metrics.filter.combined": "Combinado",
"metrics.filter.domain-only": "Únicamente dominio",
"metrics.filter.raw": "Personalizado", "metrics.filter.raw": "Personalizado",
"metrics.languages": "Idiomas", "metrics.languages": "Idiomas",
"metrics.operating-systems": "Sistemas operativos", "metrics.operating-systems": "Sistemas operativos",
"metrics.page-views": "Vistas", "metrics.page-views": "Vistas",
"metrics.pages": "Páginas", "metrics.pages": "Páginas",
"metrics.referrers": "Referentes", "metrics.referrers": "Referentes",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Visitantes únicos", "metrics.unique-visitors": "Visitantes únicos",
"metrics.views": "Vistas", "metrics.views": "Vistas",
"metrics.visitors": "Visitantes" "metrics.visitors": "Visitantes"

View File

@ -37,6 +37,7 @@
"label.more": "بیشتر", "label.more": "بیشتر",
"label.name": "نام", "label.name": "نام",
"label.new-password": "رمز جدید", "label.new-password": "رمز جدید",
"label.none": "None",
"label.owner": "ایجاد شده توسط", "label.owner": "ایجاد شده توسط",
"label.password": "رمز", "label.password": "رمز",
"label.passwords-dont-match": "رمزها یکسان نیستند", "label.passwords-dont-match": "رمزها یکسان نیستند",
@ -97,13 +98,13 @@
"metrics.devices": "دستگاه‌ها", "metrics.devices": "دستگاه‌ها",
"metrics.events": "رویدادها", "metrics.events": "رویدادها",
"metrics.filter.combined": "ترکیب شده", "metrics.filter.combined": "ترکیب شده",
"metrics.filter.domain-only": "فقط دامنه",
"metrics.filter.raw": "خام", "metrics.filter.raw": "خام",
"metrics.languages": "زبان‌ها", "metrics.languages": "زبان‌ها",
"metrics.operating-systems": "سیستم‌عامل‌ها", "metrics.operating-systems": "سیستم‌عامل‌ها",
"metrics.page-views": "بازدید صفحه", "metrics.page-views": "بازدید صفحه",
"metrics.pages": "صفحه‌ها", "metrics.pages": "صفحه‌ها",
"metrics.referrers": "ارجاع دهندگان", "metrics.referrers": "ارجاع دهندگان",
"metrics.screens": "Screens",
"metrics.unique-visitors": "بازدیدکننده‌های یکتا", "metrics.unique-visitors": "بازدیدکننده‌های یکتا",
"metrics.views": "بازدید", "metrics.views": "بازدید",
"metrics.visitors": "بازدیدکننده" "metrics.visitors": "بازدیدکننده"

View File

@ -37,6 +37,7 @@
"label.more": "Lisää", "label.more": "Lisää",
"label.name": "Nimi", "label.name": "Nimi",
"label.new-password": "Uusi salasana", "label.new-password": "Uusi salasana",
"label.none": "None",
"label.owner": "Omistaja", "label.owner": "Omistaja",
"label.password": "Salasana", "label.password": "Salasana",
"label.passwords-dont-match": "Salasanat eivät täsmää", "label.passwords-dont-match": "Salasanat eivät täsmää",
@ -97,13 +98,13 @@
"metrics.devices": "Laitteet", "metrics.devices": "Laitteet",
"metrics.events": "Tapahtumat", "metrics.events": "Tapahtumat",
"metrics.filter.combined": "Yhdistetty", "metrics.filter.combined": "Yhdistetty",
"metrics.filter.domain-only": "Vain verkkotunnus",
"metrics.filter.raw": "Käsittelemätön", "metrics.filter.raw": "Käsittelemätön",
"metrics.languages": "Kielet", "metrics.languages": "Kielet",
"metrics.operating-systems": "Käyttöjärjestelmät", "metrics.operating-systems": "Käyttöjärjestelmät",
"metrics.page-views": "Sivun näyttökerrat", "metrics.page-views": "Sivun näyttökerrat",
"metrics.pages": "Sivut", "metrics.pages": "Sivut",
"metrics.referrers": "Viittaajat", "metrics.referrers": "Viittaajat",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Yksittäiset kävijät", "metrics.unique-visitors": "Yksittäiset kävijät",
"metrics.views": "Näyttökerrat", "metrics.views": "Näyttökerrat",
"metrics.visitors": "Vierailijat" "metrics.visitors": "Vierailijat"

View File

@ -37,6 +37,7 @@
"label.more": "Meira", "label.more": "Meira",
"label.name": "Navn", "label.name": "Navn",
"label.new-password": "Nýtt loyniorð", "label.new-password": "Nýtt loyniorð",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Loyniorð", "label.password": "Loyniorð",
"label.passwords-dont-match": "Loyniorðini eru ikki eins", "label.passwords-dont-match": "Loyniorðini eru ikki eins",
@ -97,13 +98,13 @@
"metrics.devices": "Tóleindir", "metrics.devices": "Tóleindir",
"metrics.events": "Hendingar/tiltøk", "metrics.events": "Hendingar/tiltøk",
"metrics.filter.combined": "Samansett", "metrics.filter.combined": "Samansett",
"metrics.filter.domain-only": "Bara økisnavn",
"metrics.filter.raw": "Óviðgjørt", "metrics.filter.raw": "Óviðgjørt",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Stýrikervir", "metrics.operating-systems": "Stýrikervir",
"metrics.page-views": "Opnaðar síðir", "metrics.page-views": "Opnaðar síðir",
"metrics.pages": "Síðir", "metrics.pages": "Síðir",
"metrics.referrers": "Framsendingar", "metrics.referrers": "Framsendingar",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Einsýna vitjanir", "metrics.unique-visitors": "Einsýna vitjanir",
"metrics.views": "Sýningar", "metrics.views": "Sýningar",
"metrics.visitors": "Vitjandi" "metrics.visitors": "Vitjandi"

View File

@ -37,6 +37,7 @@
"label.more": "Plus", "label.more": "Plus",
"label.name": "Nom", "label.name": "Nom",
"label.new-password": "Nouveau mot de passe", "label.new-password": "Nouveau mot de passe",
"label.none": "None",
"label.owner": "Propriétaire", "label.owner": "Propriétaire",
"label.password": "Mot de passe", "label.password": "Mot de passe",
"label.passwords-dont-match": "Les mots de passe ne correspondent pas", "label.passwords-dont-match": "Les mots de passe ne correspondent pas",
@ -97,13 +98,13 @@
"metrics.devices": "Appareils", "metrics.devices": "Appareils",
"metrics.events": "Événements", "metrics.events": "Événements",
"metrics.filter.combined": "Combiné", "metrics.filter.combined": "Combiné",
"metrics.filter.domain-only": "Domaine uniquement",
"metrics.filter.raw": "Brut", "metrics.filter.raw": "Brut",
"metrics.languages": "Langages", "metrics.languages": "Langages",
"metrics.operating-systems": "Systèmes d'exploitation", "metrics.operating-systems": "Systèmes d'exploitation",
"metrics.page-views": "Pages vues", "metrics.page-views": "Pages vues",
"metrics.pages": "Pages", "metrics.pages": "Pages",
"metrics.referrers": "Sources", "metrics.referrers": "Sources",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Visiteurs uniques", "metrics.unique-visitors": "Visiteurs uniques",
"metrics.views": "Vues", "metrics.views": "Vues",
"metrics.visitors": "Visiteurs" "metrics.visitors": "Visiteurs"

View File

@ -37,6 +37,7 @@
"label.more": "Máis", "label.more": "Máis",
"label.name": "Nome", "label.name": "Nome",
"label.new-password": "Novo contrasinal", "label.new-password": "Novo contrasinal",
"label.none": "None",
"label.owner": "Dona", "label.owner": "Dona",
"label.password": "Contrasinal", "label.password": "Contrasinal",
"label.passwords-dont-match": "Non concordan os contrasinais", "label.passwords-dont-match": "Non concordan os contrasinais",
@ -97,13 +98,13 @@
"metrics.devices": "Dispositivos", "metrics.devices": "Dispositivos",
"metrics.events": "Eventos", "metrics.events": "Eventos",
"metrics.filter.combined": "Combinado", "metrics.filter.combined": "Combinado",
"metrics.filter.domain-only": "Só dominio",
"metrics.filter.raw": "Raw", "metrics.filter.raw": "Raw",
"metrics.languages": "Idiomas", "metrics.languages": "Idiomas",
"metrics.operating-systems": "Sistemas operativos", "metrics.operating-systems": "Sistemas operativos",
"metrics.page-views": "Vistas de páxinas", "metrics.page-views": "Vistas de páxinas",
"metrics.pages": "Páxinas", "metrics.pages": "Páxinas",
"metrics.referrers": "Orixes", "metrics.referrers": "Orixes",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Visitas únicas", "metrics.unique-visitors": "Visitas únicas",
"metrics.views": "Visualizacións", "metrics.views": "Visualizacións",
"metrics.visitors": "Visitantes" "metrics.visitors": "Visitantes"

View File

@ -37,6 +37,7 @@
"label.more": "עוד", "label.more": "עוד",
"label.name": "שם", "label.name": "שם",
"label.new-password": "סיסמה חדשה", "label.new-password": "סיסמה חדשה",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "סיסמה", "label.password": "סיסמה",
"label.passwords-dont-match": "סיסמאות לא תואמות", "label.passwords-dont-match": "סיסמאות לא תואמות",
@ -97,13 +98,13 @@
"metrics.devices": "מכשירים", "metrics.devices": "מכשירים",
"metrics.events": "אירועים", "metrics.events": "אירועים",
"metrics.filter.combined": "משותף", "metrics.filter.combined": "משותף",
"metrics.filter.domain-only": "דומיין בלבד",
"metrics.filter.raw": "גולמי", "metrics.filter.raw": "גולמי",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "מערכות הפעלה", "metrics.operating-systems": "מערכות הפעלה",
"metrics.page-views": "צפיות בדפים", "metrics.page-views": "צפיות בדפים",
"metrics.pages": "דפים", "metrics.pages": "דפים",
"metrics.referrers": "מפנים", "metrics.referrers": "מפנים",
"metrics.screens": "Screens",
"metrics.unique-visitors": "מבקרים ייחודיים", "metrics.unique-visitors": "מבקרים ייחודיים",
"metrics.views": "צפיות", "metrics.views": "צפיות",
"metrics.visitors": "מבקרים" "metrics.visitors": "מבקרים"

View File

@ -37,6 +37,7 @@
"label.more": "और", "label.more": "और",
"label.name": "नाम", "label.name": "नाम",
"label.new-password": "नया पासवर्ड", "label.new-password": "नया पासवर्ड",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "पासवर्ड", "label.password": "पासवर्ड",
"label.passwords-dont-match": "पासवर्ड मेल नहीं खाते", "label.passwords-dont-match": "पासवर्ड मेल नहीं खाते",
@ -97,13 +98,13 @@
"metrics.devices": "उपकरण", "metrics.devices": "उपकरण",
"metrics.events": "स्पर्धाएँ", "metrics.events": "स्पर्धाएँ",
"metrics.filter.combined": "संयुक्त", "metrics.filter.combined": "संयुक्त",
"metrics.filter.domain-only": "केवल डोमेन",
"metrics.filter.raw": "रॉ", "metrics.filter.raw": "रॉ",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "ऑपरेटिंग सिस्टम", "metrics.operating-systems": "ऑपरेटिंग सिस्टम",
"metrics.page-views": "पृष्ठ दृश्य", "metrics.page-views": "पृष्ठ दृश्य",
"metrics.pages": "पृष्ठों", "metrics.pages": "पृष्ठों",
"metrics.referrers": "सन्दर्भदाता", "metrics.referrers": "सन्दर्भदाता",
"metrics.screens": "Screens",
"metrics.unique-visitors": "अद्वितीय आगंतुकों", "metrics.unique-visitors": "अद्वितीय आगंतुकों",
"metrics.views": "दृश्य", "metrics.views": "दृश्य",
"metrics.visitors": "आगंतुकों" "metrics.visitors": "आगंतुकों"

View File

@ -37,6 +37,7 @@
"label.more": "Bővebben", "label.more": "Bővebben",
"label.name": "Név", "label.name": "Név",
"label.new-password": "Új jelszó", "label.new-password": "Új jelszó",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Jelszó", "label.password": "Jelszó",
"label.passwords-dont-match": "A jelszavak nem egyeznek", "label.passwords-dont-match": "A jelszavak nem egyeznek",
@ -97,13 +98,13 @@
"metrics.devices": "Eszközök", "metrics.devices": "Eszközök",
"metrics.events": "Események", "metrics.events": "Események",
"metrics.filter.combined": "Összevont", "metrics.filter.combined": "Összevont",
"metrics.filter.domain-only": "Csak domain",
"metrics.filter.raw": "Nyers", "metrics.filter.raw": "Nyers",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Operációs rendszerek", "metrics.operating-systems": "Operációs rendszerek",
"metrics.page-views": "Oldalmegtekintések", "metrics.page-views": "Oldalmegtekintések",
"metrics.pages": "Oldalak", "metrics.pages": "Oldalak",
"metrics.referrers": "Hivatkozók", "metrics.referrers": "Hivatkozók",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Egyedi látogatók", "metrics.unique-visitors": "Egyedi látogatók",
"metrics.views": "Megtekintések", "metrics.views": "Megtekintések",
"metrics.visitors": "Látogatók" "metrics.visitors": "Látogatók"

View File

@ -37,6 +37,7 @@
"label.more": "Lebih banyak", "label.more": "Lebih banyak",
"label.name": "Nama", "label.name": "Nama",
"label.new-password": "Kata sandi baru", "label.new-password": "Kata sandi baru",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Kata sandi", "label.password": "Kata sandi",
"label.passwords-dont-match": "Kata sandi tidak cocok", "label.passwords-dont-match": "Kata sandi tidak cocok",
@ -97,13 +98,13 @@
"metrics.devices": "Perangkat", "metrics.devices": "Perangkat",
"metrics.events": "Perihal", "metrics.events": "Perihal",
"metrics.filter.combined": "Gabungan", "metrics.filter.combined": "Gabungan",
"metrics.filter.domain-only": "Hanya domain",
"metrics.filter.raw": "Mentah", "metrics.filter.raw": "Mentah",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Sistem Operasi", "metrics.operating-systems": "Sistem Operasi",
"metrics.page-views": "Tampilan halaman", "metrics.page-views": "Tampilan halaman",
"metrics.pages": "Halaman", "metrics.pages": "Halaman",
"metrics.referrers": "Perujuk", "metrics.referrers": "Perujuk",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Pengunjung unik", "metrics.unique-visitors": "Pengunjung unik",
"metrics.views": "Tampilan", "metrics.views": "Tampilan",
"metrics.visitors": "Pengunjung" "metrics.visitors": "Pengunjung"

View File

@ -37,6 +37,7 @@
"label.more": "Dettagli", "label.more": "Dettagli",
"label.name": "Nome", "label.name": "Nome",
"label.new-password": "Nuova password", "label.new-password": "Nuova password",
"label.none": "None",
"label.owner": "Proprietario", "label.owner": "Proprietario",
"label.password": "Password", "label.password": "Password",
"label.passwords-dont-match": "Le password non corrispondono", "label.passwords-dont-match": "Le password non corrispondono",
@ -97,13 +98,13 @@
"metrics.devices": "Dispositivi", "metrics.devices": "Dispositivi",
"metrics.events": "Eventi", "metrics.events": "Eventi",
"metrics.filter.combined": "Aggregati", "metrics.filter.combined": "Aggregati",
"metrics.filter.domain-only": "Solo dominio",
"metrics.filter.raw": "Raw", "metrics.filter.raw": "Raw",
"metrics.languages": "Lingue", "metrics.languages": "Lingue",
"metrics.operating-systems": "Sistemi operativi", "metrics.operating-systems": "Sistemi operativi",
"metrics.page-views": "Visualizzazioni di pagina", "metrics.page-views": "Visualizzazioni di pagina",
"metrics.pages": "Pagine", "metrics.pages": "Pagine",
"metrics.referrers": "Referrers", "metrics.referrers": "Referrers",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Visitatori unici", "metrics.unique-visitors": "Visitatori unici",
"metrics.views": "Visualizzazioni", "metrics.views": "Visualizzazioni",
"metrics.visitors": "Visitatori" "metrics.visitors": "Visitatori"

View File

@ -37,6 +37,7 @@
"label.more": "さらに表示", "label.more": "さらに表示",
"label.name": "名前", "label.name": "名前",
"label.new-password": "新しいパスワード", "label.new-password": "新しいパスワード",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "パスワード", "label.password": "パスワード",
"label.passwords-dont-match": "パスワードが一致しません", "label.passwords-dont-match": "パスワードが一致しません",
@ -97,13 +98,13 @@
"metrics.devices": "デバイス", "metrics.devices": "デバイス",
"metrics.events": "イベント", "metrics.events": "イベント",
"metrics.filter.combined": "パスまで", "metrics.filter.combined": "パスまで",
"metrics.filter.domain-only": "ドメインのみ",
"metrics.filter.raw": "すべて表示", "metrics.filter.raw": "すべて表示",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "OS", "metrics.operating-systems": "OS",
"metrics.page-views": "閲覧数", "metrics.page-views": "閲覧数",
"metrics.pages": "ページ", "metrics.pages": "ページ",
"metrics.referrers": "リファラー", "metrics.referrers": "リファラー",
"metrics.screens": "Screens",
"metrics.unique-visitors": "ユニーク訪問者数", "metrics.unique-visitors": "ユニーク訪問者数",
"metrics.views": "閲覧数", "metrics.views": "閲覧数",
"metrics.visitors": "訪問者数" "metrics.visitors": "訪問者数"

View File

@ -37,6 +37,7 @@
"label.more": "더 보기", "label.more": "더 보기",
"label.name": "이름", "label.name": "이름",
"label.new-password": "새 비밀번호", "label.new-password": "새 비밀번호",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "비밀번호", "label.password": "비밀번호",
"label.passwords-dont-match": "비밀번호가 일치하지 않음", "label.passwords-dont-match": "비밀번호가 일치하지 않음",
@ -97,13 +98,13 @@
"metrics.devices": "기기", "metrics.devices": "기기",
"metrics.events": "이벤트", "metrics.events": "이벤트",
"metrics.filter.combined": "합쳐서 보기", "metrics.filter.combined": "합쳐서 보기",
"metrics.filter.domain-only": "도메인만",
"metrics.filter.raw": "전체 보기", "metrics.filter.raw": "전체 보기",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "운영체제", "metrics.operating-systems": "운영체제",
"metrics.page-views": "페이지 뷰(PV)", "metrics.page-views": "페이지 뷰(PV)",
"metrics.pages": "페이지", "metrics.pages": "페이지",
"metrics.referrers": "리퍼러", "metrics.referrers": "리퍼러",
"metrics.screens": "Screens",
"metrics.unique-visitors": "순방문자(UV)", "metrics.unique-visitors": "순방문자(UV)",
"metrics.views": "조회수", "metrics.views": "조회수",
"metrics.visitors": "방문객" "metrics.visitors": "방문객"

View File

@ -37,6 +37,7 @@
"label.more": "Daugiau", "label.more": "Daugiau",
"label.name": "Pavadinimas", "label.name": "Pavadinimas",
"label.new-password": "Naujas slaptažodis", "label.new-password": "Naujas slaptažodis",
"label.none": "None",
"label.owner": "Savininkas", "label.owner": "Savininkas",
"label.password": "Slaptažodis", "label.password": "Slaptažodis",
"label.passwords-dont-match": "Slaptažodžiai nesutampa", "label.passwords-dont-match": "Slaptažodžiai nesutampa",
@ -97,13 +98,13 @@
"metrics.devices": "Įrenginiai", "metrics.devices": "Įrenginiai",
"metrics.events": "Įvykiai", "metrics.events": "Įvykiai",
"metrics.filter.combined": "Kombinuoti", "metrics.filter.combined": "Kombinuoti",
"metrics.filter.domain-only": "Tik domenas",
"metrics.filter.raw": "Neapdoroti", "metrics.filter.raw": "Neapdoroti",
"metrics.languages": "Kalbos", "metrics.languages": "Kalbos",
"metrics.operating-systems": "Operacinės sistemos", "metrics.operating-systems": "Operacinės sistemos",
"metrics.page-views": "Puslapių peržiūros", "metrics.page-views": "Puslapių peržiūros",
"metrics.pages": "Puslapiai", "metrics.pages": "Puslapiai",
"metrics.referrers": "Referrers", "metrics.referrers": "Referrers",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unikalūs lankytojai", "metrics.unique-visitors": "Unikalūs lankytojai",
"metrics.views": "Peržiūros", "metrics.views": "Peržiūros",
"metrics.visitors": "Lankytojai" "metrics.visitors": "Lankytojai"

View File

@ -37,6 +37,7 @@
"label.more": "Цааш", "label.more": "Цааш",
"label.name": "Нэр", "label.name": "Нэр",
"label.new-password": "Шинэ нууц үг", "label.new-password": "Шинэ нууц үг",
"label.none": "None",
"label.owner": "Эзэмшигч", "label.owner": "Эзэмшигч",
"label.password": "Нууц үг", "label.password": "Нууц үг",
"label.passwords-dont-match": "Нууц үг тохирохгүй байна", "label.passwords-dont-match": "Нууц үг тохирохгүй байна",
@ -97,13 +98,13 @@
"metrics.devices": "Төхөөрөмж", "metrics.devices": "Төхөөрөмж",
"metrics.events": "Үйлдэл", "metrics.events": "Үйлдэл",
"metrics.filter.combined": "Нэгтгэсэн", "metrics.filter.combined": "Нэгтгэсэн",
"metrics.filter.domain-only": "Зөвхөн домэйн",
"metrics.filter.raw": "Түүхий", "metrics.filter.raw": "Түүхий",
"metrics.languages": "Хэл", "metrics.languages": "Хэл",
"metrics.operating-systems": "Үйлдлийн систем", "metrics.operating-systems": "Үйлдлийн систем",
"metrics.page-views": "Хуудас үзсэн", "metrics.page-views": "Хуудас үзсэн",
"metrics.pages": "Хуудас", "metrics.pages": "Хуудас",
"metrics.referrers": "Чиглүүлэгч", "metrics.referrers": "Чиглүүлэгч",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Зочин", "metrics.unique-visitors": "Зочин",
"metrics.views": "Үзсэн", "metrics.views": "Үзсэн",
"metrics.visitors": "Зочин" "metrics.visitors": "Зочин"

View File

@ -37,6 +37,7 @@
"label.more": "Lebih banyak lagi", "label.more": "Lebih banyak lagi",
"label.name": "Nama", "label.name": "Nama",
"label.new-password": "Kata laluan baru", "label.new-password": "Kata laluan baru",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Kata laluan", "label.password": "Kata laluan",
"label.passwords-dont-match": "Kata laluan tidak sepadan", "label.passwords-dont-match": "Kata laluan tidak sepadan",
@ -97,13 +98,13 @@
"metrics.devices": "Peranti", "metrics.devices": "Peranti",
"metrics.events": "Peristiwa", "metrics.events": "Peristiwa",
"metrics.filter.combined": "Digabungkan", "metrics.filter.combined": "Digabungkan",
"metrics.filter.domain-only": "Domain sahaja",
"metrics.filter.raw": "Mentah", "metrics.filter.raw": "Mentah",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Sistem operasi", "metrics.operating-systems": "Sistem operasi",
"metrics.page-views": "Paparan halaman", "metrics.page-views": "Paparan halaman",
"metrics.pages": "Halaman", "metrics.pages": "Halaman",
"metrics.referrers": "Perujuk", "metrics.referrers": "Perujuk",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Pelawat unik", "metrics.unique-visitors": "Pelawat unik",
"metrics.views": "Lawatan", "metrics.views": "Lawatan",
"metrics.visitors": "Pelawat" "metrics.visitors": "Pelawat"

View File

@ -37,6 +37,7 @@
"label.more": "Mer", "label.more": "Mer",
"label.name": "Navn", "label.name": "Navn",
"label.new-password": "Nytt passord", "label.new-password": "Nytt passord",
"label.none": "None",
"label.owner": "Eier", "label.owner": "Eier",
"label.password": "Passord", "label.password": "Passord",
"label.passwords-dont-match": "Passordene er ikke like", "label.passwords-dont-match": "Passordene er ikke like",
@ -97,13 +98,13 @@
"metrics.devices": "Enheter", "metrics.devices": "Enheter",
"metrics.events": "Arrangementer", "metrics.events": "Arrangementer",
"metrics.filter.combined": "Kombinert", "metrics.filter.combined": "Kombinert",
"metrics.filter.domain-only": "Bare domene",
"metrics.filter.raw": "Rå", "metrics.filter.raw": "Rå",
"metrics.languages": "Språk", "metrics.languages": "Språk",
"metrics.operating-systems": "Operativsystemer", "metrics.operating-systems": "Operativsystemer",
"metrics.page-views": "Sidevisninger", "metrics.page-views": "Sidevisninger",
"metrics.pages": "Sider", "metrics.pages": "Sider",
"metrics.referrers": "Referanser", "metrics.referrers": "Referanser",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unike besøkende", "metrics.unique-visitors": "Unike besøkende",
"metrics.views": "Visninger", "metrics.views": "Visninger",
"metrics.visitors": "Besøkende" "metrics.visitors": "Besøkende"

View File

@ -37,6 +37,7 @@
"label.more": "Toon meer", "label.more": "Toon meer",
"label.name": "Naam", "label.name": "Naam",
"label.new-password": "Nieuw wachtwoord", "label.new-password": "Nieuw wachtwoord",
"label.none": "None",
"label.owner": "Eigenaar", "label.owner": "Eigenaar",
"label.password": "Wachtwoord", "label.password": "Wachtwoord",
"label.passwords-dont-match": "Wachtwoorden komen niet overeen", "label.passwords-dont-match": "Wachtwoorden komen niet overeen",
@ -97,13 +98,13 @@
"metrics.devices": "Apparaten", "metrics.devices": "Apparaten",
"metrics.events": "Gebeurtenissen", "metrics.events": "Gebeurtenissen",
"metrics.filter.combined": "Gecombineerd", "metrics.filter.combined": "Gecombineerd",
"metrics.filter.domain-only": "Alleen domein",
"metrics.filter.raw": "Ruw", "metrics.filter.raw": "Ruw",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Besturingssystemen", "metrics.operating-systems": "Besturingssystemen",
"metrics.page-views": "Paginaweergaven", "metrics.page-views": "Paginaweergaven",
"metrics.pages": "Pagina's", "metrics.pages": "Pagina's",
"metrics.referrers": "Verwijzers", "metrics.referrers": "Verwijzers",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unieke bezoekers", "metrics.unique-visitors": "Unieke bezoekers",
"metrics.views": "Weergaven", "metrics.views": "Weergaven",
"metrics.visitors": "Bezoekers" "metrics.visitors": "Bezoekers"

View File

@ -37,6 +37,7 @@
"label.more": "Więcej", "label.more": "Więcej",
"label.name": "Nazwa", "label.name": "Nazwa",
"label.new-password": "Nowe hasło", "label.new-password": "Nowe hasło",
"label.none": "None",
"label.owner": "Właściciel", "label.owner": "Właściciel",
"label.password": "Hasło", "label.password": "Hasło",
"label.passwords-dont-match": "Hasła się nie zgadzają", "label.passwords-dont-match": "Hasła się nie zgadzają",
@ -97,13 +98,13 @@
"metrics.devices": "Urządzenia", "metrics.devices": "Urządzenia",
"metrics.events": "Zdarzenia", "metrics.events": "Zdarzenia",
"metrics.filter.combined": "Połączone", "metrics.filter.combined": "Połączone",
"metrics.filter.domain-only": "Tylko domena",
"metrics.filter.raw": "Surowe dane", "metrics.filter.raw": "Surowe dane",
"metrics.languages": "Języki", "metrics.languages": "Języki",
"metrics.operating-systems": "System operacyjny", "metrics.operating-systems": "System operacyjny",
"metrics.page-views": "Wyświetlenia strony", "metrics.page-views": "Wyświetlenia strony",
"metrics.pages": "Strony", "metrics.pages": "Strony",
"metrics.referrers": "Źródła odsyłające", "metrics.referrers": "Źródła odsyłające",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unikalni odwiedzający", "metrics.unique-visitors": "Unikalni odwiedzający",
"metrics.views": "Wyświetlenia", "metrics.views": "Wyświetlenia",
"metrics.visitors": "Odwiedzający" "metrics.visitors": "Odwiedzający"

View File

@ -37,6 +37,7 @@
"label.more": "Mais", "label.more": "Mais",
"label.name": "Nome", "label.name": "Nome",
"label.new-password": "Nova senha", "label.new-password": "Nova senha",
"label.none": "None",
"label.owner": "Proprietário", "label.owner": "Proprietário",
"label.password": "Senha", "label.password": "Senha",
"label.passwords-dont-match": "As senhas não correspondem", "label.passwords-dont-match": "As senhas não correspondem",
@ -97,13 +98,13 @@
"metrics.devices": "Dispositivos", "metrics.devices": "Dispositivos",
"metrics.events": "Eventos", "metrics.events": "Eventos",
"metrics.filter.combined": "Combinado", "metrics.filter.combined": "Combinado",
"metrics.filter.domain-only": "Apenas domínio",
"metrics.filter.raw": "Dados brutos", "metrics.filter.raw": "Dados brutos",
"metrics.languages": "Idiomas", "metrics.languages": "Idiomas",
"metrics.operating-systems": "Sistemas operacionais", "metrics.operating-systems": "Sistemas operacionais",
"metrics.page-views": "Visualizações de página", "metrics.page-views": "Visualizações de página",
"metrics.pages": "Páginas", "metrics.pages": "Páginas",
"metrics.referrers": "Referências", "metrics.referrers": "Referências",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Visitantes únicos", "metrics.unique-visitors": "Visitantes únicos",
"metrics.views": "Visualizações", "metrics.views": "Visualizações",
"metrics.visitors": "Visitantes" "metrics.visitors": "Visitantes"

View File

@ -37,6 +37,7 @@
"label.more": "Mais", "label.more": "Mais",
"label.name": "Nome", "label.name": "Nome",
"label.new-password": "Nova senha", "label.new-password": "Nova senha",
"label.none": "None",
"label.owner": "Proprietário", "label.owner": "Proprietário",
"label.password": "Senha", "label.password": "Senha",
"label.passwords-dont-match": "As senhas não coincidem", "label.passwords-dont-match": "As senhas não coincidem",
@ -97,13 +98,13 @@
"metrics.devices": "Dispositivos", "metrics.devices": "Dispositivos",
"metrics.events": "Eventos", "metrics.events": "Eventos",
"metrics.filter.combined": "Combinado", "metrics.filter.combined": "Combinado",
"metrics.filter.domain-only": "Apenas domínio",
"metrics.filter.raw": "Dados brutos", "metrics.filter.raw": "Dados brutos",
"metrics.languages": "Línguas", "metrics.languages": "Línguas",
"metrics.operating-systems": "Sistemas operativos", "metrics.operating-systems": "Sistemas operativos",
"metrics.page-views": "Visualizações da página", "metrics.page-views": "Visualizações da página",
"metrics.pages": "Páginas", "metrics.pages": "Páginas",
"metrics.referrers": "Referenciadores", "metrics.referrers": "Referenciadores",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Visitantes únicos", "metrics.unique-visitors": "Visitantes únicos",
"metrics.views": "Visualizações", "metrics.views": "Visualizações",
"metrics.visitors": "Visitantes" "metrics.visitors": "Visitantes"

View File

@ -37,6 +37,7 @@
"label.more": "Mai mult", "label.more": "Mai mult",
"label.name": "Nume", "label.name": "Nume",
"label.new-password": "Parola nouă", "label.new-password": "Parola nouă",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Parolă", "label.password": "Parolă",
"label.passwords-dont-match": "Parolele nu se potrivesc", "label.passwords-dont-match": "Parolele nu se potrivesc",
@ -97,13 +98,13 @@
"metrics.devices": "Dispozitive", "metrics.devices": "Dispozitive",
"metrics.events": "Evenimente", "metrics.events": "Evenimente",
"metrics.filter.combined": "Combinat", "metrics.filter.combined": "Combinat",
"metrics.filter.domain-only": "Numai domeniu",
"metrics.filter.raw": "Brut", "metrics.filter.raw": "Brut",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Sisteme de operare", "metrics.operating-systems": "Sisteme de operare",
"metrics.page-views": "Vizualizări de pagină", "metrics.page-views": "Vizualizări de pagină",
"metrics.pages": "Pagini", "metrics.pages": "Pagini",
"metrics.referrers": "Site-uri de proveniență", "metrics.referrers": "Site-uri de proveniență",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Vizitatori unici", "metrics.unique-visitors": "Vizitatori unici",
"metrics.views": "Vizualizări", "metrics.views": "Vizualizări",
"metrics.visitors": "Vizitatori" "metrics.visitors": "Vizitatori"

View File

@ -37,6 +37,7 @@
"label.more": "Больше", "label.more": "Больше",
"label.name": "Имя", "label.name": "Имя",
"label.new-password": "Новый пароль", "label.new-password": "Новый пароль",
"label.none": "None",
"label.owner": "Владелец", "label.owner": "Владелец",
"label.password": "Пароль", "label.password": "Пароль",
"label.passwords-dont-match": "Пароли не совпадают", "label.passwords-dont-match": "Пароли не совпадают",
@ -97,13 +98,13 @@
"metrics.devices": "Устройства", "metrics.devices": "Устройства",
"metrics.events": "События", "metrics.events": "События",
"metrics.filter.combined": "Объединенные", "metrics.filter.combined": "Объединенные",
"metrics.filter.domain-only": "Только домен",
"metrics.filter.raw": "Сырые данные", "metrics.filter.raw": "Сырые данные",
"metrics.languages": "Языки", "metrics.languages": "Языки",
"metrics.operating-systems": "Операционные системы", "metrics.operating-systems": "Операционные системы",
"metrics.page-views": "Просмотры страниц", "metrics.page-views": "Просмотры страниц",
"metrics.pages": "Страницы", "metrics.pages": "Страницы",
"metrics.referrers": "Источники", "metrics.referrers": "Источники",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Уникальные посетители", "metrics.unique-visitors": "Уникальные посетители",
"metrics.views": "Просмотры", "metrics.views": "Просмотры",
"metrics.visitors": "Посетители" "metrics.visitors": "Посетители"

View File

@ -37,6 +37,7 @@
"label.more": "Viac", "label.more": "Viac",
"label.name": "Meno", "label.name": "Meno",
"label.new-password": "Nové heslo", "label.new-password": "Nové heslo",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Heslo", "label.password": "Heslo",
"label.passwords-dont-match": "Hesla se nezhodujú", "label.passwords-dont-match": "Hesla se nezhodujú",
@ -97,13 +98,13 @@
"metrics.devices": "Zariadenie", "metrics.devices": "Zariadenie",
"metrics.events": "Udalosti", "metrics.events": "Udalosti",
"metrics.filter.combined": "Kombinácie", "metrics.filter.combined": "Kombinácie",
"metrics.filter.domain-only": "Domény",
"metrics.filter.raw": "Nezpracované", "metrics.filter.raw": "Nezpracované",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Operačný systém", "metrics.operating-systems": "Operačný systém",
"metrics.page-views": "Zobrazenie stánok", "metrics.page-views": "Zobrazenie stánok",
"metrics.pages": "Stránky", "metrics.pages": "Stránky",
"metrics.referrers": "Odkazy", "metrics.referrers": "Odkazy",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Jedinečné návštevy", "metrics.unique-visitors": "Jedinečné návštevy",
"metrics.views": "Zobrazení", "metrics.views": "Zobrazení",
"metrics.visitors": "Návštevy" "metrics.visitors": "Návštevy"

View File

@ -37,6 +37,7 @@
"label.more": "Več", "label.more": "Več",
"label.name": "Ime", "label.name": "Ime",
"label.new-password": "Novo geslo", "label.new-password": "Novo geslo",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Geslo", "label.password": "Geslo",
"label.passwords-dont-match": "Gesli se ne ujemata", "label.passwords-dont-match": "Gesli se ne ujemata",
@ -97,13 +98,13 @@
"metrics.devices": "Naprave", "metrics.devices": "Naprave",
"metrics.events": "Dogodki", "metrics.events": "Dogodki",
"metrics.filter.combined": "Skupno", "metrics.filter.combined": "Skupno",
"metrics.filter.domain-only": "Samo domena",
"metrics.filter.raw": "Neobdelane meritve", "metrics.filter.raw": "Neobdelane meritve",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "Operacijski sistemi", "metrics.operating-systems": "Operacijski sistemi",
"metrics.page-views": "Ogledi strani", "metrics.page-views": "Ogledi strani",
"metrics.pages": "Strani", "metrics.pages": "Strani",
"metrics.referrers": "Viri", "metrics.referrers": "Viri",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unikatni obiskovalci", "metrics.unique-visitors": "Unikatni obiskovalci",
"metrics.views": "Ogledi", "metrics.views": "Ogledi",
"metrics.visitors": "Obiskovalci" "metrics.visitors": "Obiskovalci"

View File

@ -37,6 +37,7 @@
"label.more": "Mer", "label.more": "Mer",
"label.name": "Namn", "label.name": "Namn",
"label.new-password": "Nytt lösenord", "label.new-password": "Nytt lösenord",
"label.none": "None",
"label.owner": "Ägare", "label.owner": "Ägare",
"label.password": "Lösenord", "label.password": "Lösenord",
"label.passwords-dont-match": "Lösenorden är inte samma", "label.passwords-dont-match": "Lösenorden är inte samma",
@ -97,13 +98,13 @@
"metrics.devices": "Enheter", "metrics.devices": "Enheter",
"metrics.events": "Händelser", "metrics.events": "Händelser",
"metrics.filter.combined": "Kombinerade", "metrics.filter.combined": "Kombinerade",
"metrics.filter.domain-only": "Endast domän",
"metrics.filter.raw": "Rådata", "metrics.filter.raw": "Rådata",
"metrics.languages": "Språk", "metrics.languages": "Språk",
"metrics.operating-systems": "Operativsystem", "metrics.operating-systems": "Operativsystem",
"metrics.page-views": "Sidvisningar", "metrics.page-views": "Sidvisningar",
"metrics.pages": "Sidor", "metrics.pages": "Sidor",
"metrics.referrers": "Hänvisare", "metrics.referrers": "Hänvisare",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Unika besökare", "metrics.unique-visitors": "Unika besökare",
"metrics.views": "Visningar", "metrics.views": "Visningar",
"metrics.visitors": "Besökare" "metrics.visitors": "Besökare"

View File

@ -37,6 +37,7 @@
"label.more": "மேலும்", "label.more": "மேலும்",
"label.name": "பெயர்", "label.name": "பெயர்",
"label.new-password": "புதிய கடவுச்சொல்", "label.new-password": "புதிய கடவுச்சொல்",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "கடவுச்சொல்", "label.password": "கடவுச்சொல்",
"label.passwords-dont-match": "இருக்கடவுச்சொல் பொருந்தவில்லை", "label.passwords-dont-match": "இருக்கடவுச்சொல் பொருந்தவில்லை",
@ -97,13 +98,13 @@
"metrics.devices": "சாதனங்கள்", "metrics.devices": "சாதனங்கள்",
"metrics.events": "நிகழ்வுகள்", "metrics.events": "நிகழ்வுகள்",
"metrics.filter.combined": "ஒருங்கிணைந்த", "metrics.filter.combined": "ஒருங்கிணைந்த",
"metrics.filter.domain-only": "கள முகவரி மட்டும்",
"metrics.filter.raw": "மூல", "metrics.filter.raw": "மூல",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "இயக்க முறைமைகள்", "metrics.operating-systems": "இயக்க முறைமைகள்",
"metrics.page-views": "பக்க காட்சிகள்", "metrics.page-views": "பக்க காட்சிகள்",
"metrics.pages": "பக்கங்கள்", "metrics.pages": "பக்கங்கள்",
"metrics.referrers": "குறிப்பிடுவோர்", "metrics.referrers": "குறிப்பிடுவோர்",
"metrics.screens": "Screens",
"metrics.unique-visitors": "தனிப்பட்ட பார்வையாளர்கள்", "metrics.unique-visitors": "தனிப்பட்ட பார்வையாளர்கள்",
"metrics.views": "பார்வைகள்", "metrics.views": "பார்வைகள்",
"metrics.visitors": "பார்வையாளர்கள்" "metrics.visitors": "பார்வையாளர்கள்"

View File

@ -37,6 +37,7 @@
"label.more": "Detaylı göster", "label.more": "Detaylı göster",
"label.name": "İsim", "label.name": "İsim",
"label.new-password": "Yeni parola", "label.new-password": "Yeni parola",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "Parola", "label.password": "Parola",
"label.passwords-dont-match": "Parolalar uyuşmuyor", "label.passwords-dont-match": "Parolalar uyuşmuyor",
@ -97,15 +98,14 @@
"metrics.devices": "Cihazlar", "metrics.devices": "Cihazlar",
"metrics.events": "Olaylar", "metrics.events": "Olaylar",
"metrics.filter.combined": "Birleşik", "metrics.filter.combined": "Birleşik",
"metrics.filter.domain-only": "Yalnızca alan adı",
"metrics.filter.raw": "Ham", "metrics.filter.raw": "Ham",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "İşletim sistemi", "metrics.operating-systems": "İşletim sistemi",
"metrics.page-views": "Sayfa görünümü", "metrics.page-views": "Sayfa görünümü",
"metrics.pages": "Sayfalar", "metrics.pages": "Sayfalar",
"metrics.referrers": "Yönlendirenler", "metrics.referrers": "Yönlendirenler",
"metrics.screens": "Ekranlar",
"metrics.unique-visitors": "Tekil kullanıcı", "metrics.unique-visitors": "Tekil kullanıcı",
"metrics.views": "Görüntüleme", "metrics.views": "Görüntüleme",
"metrics.visitors": "Ziyaretçi", "metrics.visitors": "Ziyaretçi"
"metrics.screens": "Ekranlar"
} }

View File

@ -37,6 +37,7 @@
"label.more": "Більше", "label.more": "Більше",
"label.name": "Ім'я", "label.name": "Ім'я",
"label.new-password": "Новий пароль", "label.new-password": "Новий пароль",
"label.none": "None",
"label.owner": "Власник", "label.owner": "Власник",
"label.password": "Пароль", "label.password": "Пароль",
"label.passwords-dont-match": "Паролі не співпадають", "label.passwords-dont-match": "Паролі не співпадають",
@ -97,13 +98,13 @@
"metrics.devices": "Пристрої", "metrics.devices": "Пристрої",
"metrics.events": "Події", "metrics.events": "Події",
"metrics.filter.combined": "Об'єднані", "metrics.filter.combined": "Об'єднані",
"metrics.filter.domain-only": "Лише домен",
"metrics.filter.raw": "Сирі дані", "metrics.filter.raw": "Сирі дані",
"metrics.languages": "Мови", "metrics.languages": "Мови",
"metrics.operating-systems": "Операційні системи", "metrics.operating-systems": "Операційні системи",
"metrics.page-views": "Перегляди сторінок", "metrics.page-views": "Перегляди сторінок",
"metrics.pages": "Сторінки", "metrics.pages": "Сторінки",
"metrics.referrers": "Джерела", "metrics.referrers": "Джерела",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Унікальні відвідувачі", "metrics.unique-visitors": "Унікальні відвідувачі",
"metrics.views": "Перегляди", "metrics.views": "Перегляди",
"metrics.visitors": "Відвідувачі" "metrics.visitors": "Відвідувачі"

View File

@ -37,6 +37,7 @@
"label.more": "مزید", "label.more": "مزید",
"label.name": "نام", "label.name": "نام",
"label.new-password": "نیا پاس ورڈ", "label.new-password": "نیا پاس ورڈ",
"label.none": "None",
"label.owner": "مالک", "label.owner": "مالک",
"label.password": "پاس ورڈ", "label.password": "پاس ورڈ",
"label.passwords-dont-match": "پاس ورڈز مماثل نہیں ہیں", "label.passwords-dont-match": "پاس ورڈز مماثل نہیں ہیں",
@ -97,13 +98,13 @@
"metrics.devices": "آلات", "metrics.devices": "آلات",
"metrics.events": "واقعات", "metrics.events": "واقعات",
"metrics.filter.combined": "مشترکہ", "metrics.filter.combined": "مشترکہ",
"metrics.filter.domain-only": "صرف ڈومین",
"metrics.filter.raw": "خام", "metrics.filter.raw": "خام",
"metrics.languages": "زبانیں", "metrics.languages": "زبانیں",
"metrics.operating-systems": "آپریٹنگ سسٹمز", "metrics.operating-systems": "آپریٹنگ سسٹمز",
"metrics.page-views": "صفحہ کے نظارے", "metrics.page-views": "صفحہ کے نظارے",
"metrics.pages": "صفحات", "metrics.pages": "صفحات",
"metrics.referrers": "بھیجنے والے", "metrics.referrers": "بھیجنے والے",
"metrics.screens": "Screens",
"metrics.unique-visitors": "منفرد زائرین", "metrics.unique-visitors": "منفرد زائرین",
"metrics.views": "مناظر", "metrics.views": "مناظر",
"metrics.visitors": "زائرین" "metrics.visitors": "زائرین"

View File

@ -37,6 +37,7 @@
"label.more": "Thêm", "label.more": "Thêm",
"label.name": "Tên", "label.name": "Tên",
"label.new-password": "Mật khẩu mới", "label.new-password": "Mật khẩu mới",
"label.none": "None",
"label.owner": "Chủ sở hữu", "label.owner": "Chủ sở hữu",
"label.password": "Mật khẩu", "label.password": "Mật khẩu",
"label.passwords-dont-match": "Mật khẩu không đồng nhất", "label.passwords-dont-match": "Mật khẩu không đồng nhất",
@ -97,13 +98,13 @@
"metrics.devices": "Thiết bị", "metrics.devices": "Thiết bị",
"metrics.events": "Sự kiện", "metrics.events": "Sự kiện",
"metrics.filter.combined": "Kết hợp", "metrics.filter.combined": "Kết hợp",
"metrics.filter.domain-only": "Chỉ tên miền",
"metrics.filter.raw": "Gốc", "metrics.filter.raw": "Gốc",
"metrics.languages": "Ngôn ngữ", "metrics.languages": "Ngôn ngữ",
"metrics.operating-systems": "Hệ điều hành", "metrics.operating-systems": "Hệ điều hành",
"metrics.page-views": "Lượt xem", "metrics.page-views": "Lượt xem",
"metrics.pages": "Trang", "metrics.pages": "Trang",
"metrics.referrers": "Liên kết giới thiệu", "metrics.referrers": "Liên kết giới thiệu",
"metrics.screens": "Screens",
"metrics.unique-visitors": "Khách truy cập một lần", "metrics.unique-visitors": "Khách truy cập một lần",
"metrics.views": "Xem", "metrics.views": "Xem",
"metrics.visitors": "Khách" "metrics.visitors": "Khách"

View File

@ -37,6 +37,7 @@
"label.more": "更多", "label.more": "更多",
"label.name": "名字", "label.name": "名字",
"label.new-password": "新密码", "label.new-password": "新密码",
"label.none": "None",
"label.owner": "所有者", "label.owner": "所有者",
"label.password": "密码", "label.password": "密码",
"label.passwords-dont-match": "密码不一致", "label.passwords-dont-match": "密码不一致",
@ -97,13 +98,13 @@
"metrics.devices": "设备", "metrics.devices": "设备",
"metrics.events": "行为类别", "metrics.events": "行为类别",
"metrics.filter.combined": "总和", "metrics.filter.combined": "总和",
"metrics.filter.domain-only": "只看域名",
"metrics.filter.raw": "原始", "metrics.filter.raw": "原始",
"metrics.languages": "语言", "metrics.languages": "语言",
"metrics.operating-systems": "操作系统", "metrics.operating-systems": "操作系统",
"metrics.page-views": "页面浏览量", "metrics.page-views": "页面浏览量",
"metrics.pages": "网页", "metrics.pages": "网页",
"metrics.referrers": "来源域名", "metrics.referrers": "来源域名",
"metrics.screens": "Screens",
"metrics.unique-visitors": "独立访客", "metrics.unique-visitors": "独立访客",
"metrics.views": "浏览量", "metrics.views": "浏览量",
"metrics.visitors": "访客" "metrics.visitors": "访客"

View File

@ -37,6 +37,7 @@
"label.more": "更多", "label.more": "更多",
"label.name": "名字", "label.name": "名字",
"label.new-password": "新密碼", "label.new-password": "新密碼",
"label.none": "None",
"label.owner": "Owner", "label.owner": "Owner",
"label.password": "密碼", "label.password": "密碼",
"label.passwords-dont-match": "密碼不一致", "label.passwords-dont-match": "密碼不一致",
@ -97,13 +98,13 @@
"metrics.devices": "裝置", "metrics.devices": "裝置",
"metrics.events": "行為類別", "metrics.events": "行為類別",
"metrics.filter.combined": "總和", "metrics.filter.combined": "總和",
"metrics.filter.domain-only": "僅域名",
"metrics.filter.raw": "原始", "metrics.filter.raw": "原始",
"metrics.languages": "Languages", "metrics.languages": "Languages",
"metrics.operating-systems": "操作系统", "metrics.operating-systems": "操作系统",
"metrics.page-views": "網頁流量", "metrics.page-views": "網頁流量",
"metrics.pages": "網頁", "metrics.pages": "網頁",
"metrics.referrers": "指入域名", "metrics.referrers": "指入域名",
"metrics.screens": "Screens",
"metrics.unique-visitors": "獨立訪客", "metrics.unique-visitors": "獨立訪客",
"metrics.views": "頁面流量", "metrics.views": "頁面流量",
"metrics.visitors": "獨立訪客" "metrics.visitors": "獨立訪客"

View File

@ -1,14 +1,10 @@
import { removeTrailingSlash, removeWWW, getDomainName } from './url'; import { removeWWW } from './url';
export const urlFilter = (data, { raw }) => { export const urlFilter = data => {
const isValidUrl = url => { const isValidUrl = url => {
return url !== '' && url !== null && !url.startsWith('#'); return url !== '' && url !== null && !url.startsWith('#');
}; };
if (raw) {
return data.filter(({ x }) => isValidUrl(x));
}
const cleanUrl = url => { const cleanUrl = url => {
try { try {
const { pathname, search } = new URL(url, location.origin); const { pathname, search } = new URL(url, location.origin);
@ -44,68 +40,26 @@ export const urlFilter = (data, { raw }) => {
return Object.keys(map).map(key => ({ x: key, y: map[key] })); return Object.keys(map).map(key => ({ x: key, y: map[key] }));
}; };
export const refFilter = (data, { domain, domainOnly, raw }) => { export const refFilter = data => {
const domainName = getDomainName(domain);
const regex = new RegExp(`http[s]?://([a-z0-9-]+\\.)*${domainName}`);
const links = {}; const links = {};
const isValidRef = referrer => {
return referrer !== null && !referrer.startsWith('/') && !referrer.startsWith('#');
};
const cleanUrl = url => {
try {
if (url === '') {
return 'Direct / None';
}
const { hostname, origin, pathname, searchParams, protocol } = new URL(url);
if (regex.test(url)) {
return null;
}
if (domainOnly && hostname) {
return removeWWW(hostname);
}
if (!origin || origin === 'null') {
return `${protocol}${removeTrailingSlash(pathname)}`;
}
if (protocol.startsWith('http')) {
const path = removeTrailingSlash(pathname);
const referrer = searchParams.get('referrer');
const query = referrer ? `?referrer=${referrer}` : '';
return removeTrailingSlash(`${removeWWW(hostname)}${path}`) + query;
}
return null;
} catch {
return null;
}
};
if (raw) {
return data.filter(({ x }) => isValidRef(x) && !regex.test(x));
}
const map = data.reduce((obj, { x, y }) => { const map = data.reduce((obj, { x, y }) => {
if (!isValidRef(x)) { let id;
return obj;
try {
const url = new URL(x);
id = removeWWW(url.hostname) || url.href;
} catch {
id = '';
} }
const url = cleanUrl(x); links[id] = x;
links[url] = x; if (!obj[id]) {
obj[id] = y;
if (url) {
if (!obj[url]) {
obj[url] = y;
} else { } else {
obj[url] += y; obj[id] += y;
}
} }
return obj; return obj;

View File

@ -59,11 +59,11 @@ export function getTimestampInterval(field) {
} }
} }
export function getFilterQuery(table, filters = {}, params = []) { export function getFilterQuery(table, column, filters = {}, params = []) {
const query = Object.keys(filters).reduce((arr, key) => { const query = Object.keys(filters).reduce((arr, key) => {
const value = filters[key]; const value = filters[key];
if (value === undefined) { if (!value || value === true) {
return arr; return arr;
} }
@ -94,7 +94,8 @@ export function getFilterQuery(table, filters = {}, params = []) {
case 'referrer': case 'referrer':
if (table === 'pageview') { if (table === 'pageview') {
arr.push(`and ${table}.referrer like $${params.length + 1}`); arr.push(`and ${table}.referrer like $${params.length + 1} `);
arr.push(`and ${table}.referrer not like '/%'`);
params.push(`%${decodeURIComponent(value)}%`); params.push(`%${decodeURIComponent(value)}%`);
} }
break; break;
@ -114,7 +115,7 @@ export function getFilterQuery(table, filters = {}, params = []) {
return query.join('\n'); return query.join('\n');
} }
export function parseFilters(table, filters = {}, params = []) { export function parseFilters(table, column, filters = {}, params = []) {
const { domain, url, event_url, referrer, os, browser, device, country, event_type } = filters; const { domain, url, event_url, referrer, os, browser, device, country, event_type } = filters;
const pageviewFilters = { domain, url, referrer }; const pageviewFilters = { domain, url, referrer };
@ -130,9 +131,9 @@ export function parseFilters(table, filters = {}, params = []) {
os || browser || device || country os || browser || device || country
? `inner join session on ${table}.session_id = session.session_id` ? `inner join session on ${table}.session_id = session.session_id`
: '', : '',
pageviewQuery: getFilterQuery('pageview', pageviewFilters, params), pageviewQuery: getFilterQuery('pageview', column, pageviewFilters, params),
sessionQuery: getFilterQuery('session', sessionFilters, params), sessionQuery: getFilterQuery('session', column, sessionFilters, params),
eventQuery: getFilterQuery('event', eventFilters, params), eventQuery: getFilterQuery('event', column, eventFilters, params),
}; };
} }

View File

@ -6,14 +6,6 @@ export function removeWWW(url) {
return url && url.length > 1 && url.startsWith('www.') ? url.slice(4) : url; return url && url.length > 1 && url.startsWith('www.') ? url.slice(4) : url;
} }
export function getDomainName(str) {
try {
return new URL(str).hostname;
} catch (e) {
return str;
}
}
export function getQueryString(params = {}) { export function getQueryString(params = {}) {
const map = Object.keys(params).reduce((arr, key) => { const map = Object.keys(params).reduce((arr, key) => {
if (params[key] !== undefined) { if (params[key] !== undefined) {

View File

@ -69,7 +69,7 @@ export default async (req, res) => {
if (pageviewColumns.includes(type) || type === 'event') { if (pageviewColumns.includes(type) || type === 'event') {
let domain; let domain;
if (type === 'referrer') { if (type === 'referrer') {
const website = getWebsiteById(websiteId); const website = await getWebsiteById(websiteId);
if (!website) { if (!website) {
return badRequest(res); return badRequest(res);
@ -80,17 +80,18 @@ export default async (req, res) => {
const column = getColumn(type); const column = getColumn(type);
const table = getTable(type); const table = getTable(type);
const filters = {
const data = await getPageviewMetrics(websiteId, startDate, endDate, column, table, {
domain, domain,
url: type !== 'url' && table !== 'event' ? url : undefined, url: type !== 'url' && table !== 'event' ? url : undefined,
referrer: type !== 'referrer' ? referrer : undefined, referrer: type !== 'referrer' ? referrer : true,
os: type !== 'os' ? os : undefined, os: type !== 'os' ? os : undefined,
browser: type !== 'browser' ? browser : undefined, browser: type !== 'browser' ? browser : undefined,
device: type !== 'device' ? device : undefined, device: type !== 'device' ? device : undefined,
country: type !== 'country' ? country : undefined, country: type !== 'country' ? country : undefined,
event_url: type !== 'url' && table === 'event' ? url : undefined, event_url: type !== 'url' && table === 'event' ? url : undefined,
}); };
const data = await getPageviewMetrics(websiteId, startDate, endDate, column, table, filters);
return ok(res, data); return ok(res, data);
} }

View File

@ -247,6 +247,12 @@
"value": "كلمة مرور جديدة" "value": "كلمة مرور جديدة"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "مجمعة" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "نطاق فقط"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "التحويلات" "value": "التحويلات"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Contrasenya nova" "value": "Contrasenya nova"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Combinat" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Només domini"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Referents" "value": "Referents"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nové heslo" "value": "Nové heslo"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kombinace" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Domény"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Odkazy" "value": "Odkazy"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Ny adgangskode" "value": "Ny adgangskode"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kombineret" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Kun domæne"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Henvisninger" "value": "Henvisninger"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Neues Passwort" "value": "Neues Passwort"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kombiniert" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Nur diese Domain"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [

View File

@ -247,6 +247,12 @@
"value": "Νέος κωδικός" "value": "Νέος κωδικός"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Σε συνδυασμό" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Μόνο τομέας"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Παραπομπές" "value": "Παραπομπές"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "New password" "value": "New password"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -731,12 +737,6 @@
"value": "Combined" "value": "Combined"
} }
], ],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Domain only"
}
],
"metrics.filter.raw": [ "metrics.filter.raw": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "New password" "value": "New password"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -731,12 +737,6 @@
"value": "Combined" "value": "Combined"
} }
], ],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Domain only"
}
],
"metrics.filter.raw": [ "metrics.filter.raw": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nueva contraseña" "value": "Nueva contraseña"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Combinado" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Únicamente dominio"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Referentes" "value": "Referentes"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "رمز جدید" "value": "رمز جدید"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -712,13 +718,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "ترکیب شده" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "فقط دامنه"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -757,6 +757,12 @@
"value": "ارجاع دهندگان" "value": "ارجاع دهندگان"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Uusi salasana" "value": "Uusi salasana"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Yhdistetty" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Vain verkkotunnus"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Viittaajat" "value": "Viittaajat"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nýtt loyniorð" "value": "Nýtt loyniorð"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Samansett" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Bara økisnavn"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Framsendingar" "value": "Framsendingar"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -239,6 +239,12 @@
"value": "Nouveau mot de passe" "value": "Nouveau mot de passe"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -724,13 +730,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Combiné" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Domaine uniquement"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -769,6 +769,12 @@
"value": "Sources" "value": "Sources"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Novo contrasinal" "value": "Novo contrasinal"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Combinado" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Só dominio"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Orixes" "value": "Orixes"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -239,6 +239,12 @@
"value": "סיסמה חדשה" "value": "סיסמה חדשה"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -708,13 +714,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "משותף" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "דומיין בלבד"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -753,6 +753,12 @@
"value": "מפנים" "value": "מפנים"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "नया पासवर्ड" "value": "नया पासवर्ड"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -716,13 +722,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "संयुक्त" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "केवल डोमेन"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -761,6 +761,12 @@
"value": "सन्दर्भदाता" "value": "सन्दर्भदाता"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Új jelszó" "value": "Új jelszó"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Összevont" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Csak domain"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Hivatkozók" "value": "Hivatkozók"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -239,6 +239,12 @@
"value": "Kata sandi baru" "value": "Kata sandi baru"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -696,13 +702,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Gabungan" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Hanya domain"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -741,6 +741,12 @@
"value": "Perujuk" "value": "Perujuk"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nuova password" "value": "Nuova password"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -732,13 +738,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Aggregati" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Solo dominio"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -777,6 +777,12 @@
"value": "Referrers" "value": "Referrers"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "新しいパスワード" "value": "新しいパスワード"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -700,13 +706,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "パスまで" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "ドメインのみ"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -745,6 +745,12 @@
"value": "リファラー" "value": "リファラー"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "새 비밀번호" "value": "새 비밀번호"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -700,13 +706,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "합쳐서 보기" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "도메인만"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -745,6 +745,12 @@
"value": "리퍼러" "value": "리퍼러"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -352,6 +352,12 @@
"value": "Naujas slaptažodis" "value": "Naujas slaptažodis"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -853,13 +859,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kombinuoti" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Tik domenas"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -898,6 +898,12 @@
"value": "Referrers" "value": "Referrers"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Шинэ нууц үг" "value": "Шинэ нууц үг"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Нэгтгэсэн" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Зөвхөн домэйн"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Чиглүүлэгч" "value": "Чиглүүлэгч"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -239,6 +239,12 @@
"value": "Kata laluan baru" "value": "Kata laluan baru"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -720,13 +726,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Digabungkan" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Domain sahaja"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -765,6 +765,12 @@
"value": "Perujuk" "value": "Perujuk"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nytt passord" "value": "Nytt passord"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -732,13 +738,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kombinert" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Bare domene"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -777,6 +777,12 @@
"value": "Referanser" "value": "Referanser"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nieuw wachtwoord" "value": "Nieuw wachtwoord"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Gecombineerd" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Alleen domein"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Verwijzers" "value": "Verwijzers"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nowe hasło" "value": "Nowe hasło"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Połączone" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Tylko domena"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Źródła odsyłające" "value": "Źródła odsyłające"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nova senha" "value": "Nova senha"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -732,13 +738,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Combinado" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Apenas domínio"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -777,6 +777,12 @@
"value": "Referências" "value": "Referências"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nova senha" "value": "Nova senha"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -732,13 +738,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Combinado" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Apenas domínio"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -777,6 +777,12 @@
"value": "Referenciadores" "value": "Referenciadores"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Parola nouă" "value": "Parola nouă"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Combinat" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Numai domeniu"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Site-uri de proveniență" "value": "Site-uri de proveniență"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Новый пароль" "value": "Новый пароль"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -700,13 +706,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Объединенные" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Только домен"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -745,6 +745,12 @@
"value": "Источники" "value": "Источники"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nové heslo" "value": "Nové heslo"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kombinácie" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Domény"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Odkazy" "value": "Odkazy"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Novo geslo" "value": "Novo geslo"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Skupno" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Samo domena"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "Viri" "value": "Viri"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Nytt lösenord" "value": "Nytt lösenord"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -732,13 +738,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kombinerade" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Endast domän"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -777,6 +777,12 @@
"value": "Hänvisare" "value": "Hänvisare"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "புதிய கடவுச்சொல்" "value": "புதிய கடவுச்சொல்"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -720,13 +726,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "ஒருங்கிணைந்த" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "கள முகவரி மட்டும்"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -765,6 +765,12 @@
"value": "குறிப்பிடுவோர்" "value": "குறிப்பிடுவோர்"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "Yeni parola" "value": "Yeni parola"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -692,13 +698,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Birleşik" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Yalnızca alan adı"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [

View File

@ -247,6 +247,12 @@
"value": "Новий пароль" "value": "Новий пароль"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -704,13 +710,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Об'єднані" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Лише домен"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -749,6 +749,12 @@
"value": "Джерела" "value": "Джерела"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -251,6 +251,12 @@
"value": "نیا پاس ورڈ" "value": "نیا پاس ورڈ"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -728,13 +734,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "مشترکہ" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "صرف ڈومین"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -773,6 +773,12 @@
"value": "بھیجنے والے" "value": "بھیجنے والے"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -239,6 +239,12 @@
"value": "Mật khẩu mới" "value": "Mật khẩu mới"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -712,13 +718,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "Kết hợp" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "Chỉ tên miền"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -757,6 +757,12 @@
"value": "Liên kết giới thiệu" "value": "Liên kết giới thiệu"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "新密码" "value": "新密码"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -716,13 +722,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "总和" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "只看域名"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -761,6 +761,12 @@
"value": "来源域名" "value": "来源域名"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -247,6 +247,12 @@
"value": "新密碼" "value": "新密碼"
} }
], ],
"label.none": [
{
"type": 0,
"value": "None"
}
],
"label.owner": [ "label.owner": [
{ {
"type": 0, "type": 0,
@ -712,13 +718,7 @@
"metrics.filter.combined": [ "metrics.filter.combined": [
{ {
"type": 0, "type": 0,
"value": "總和" "value": "Combined"
}
],
"metrics.filter.domain-only": [
{
"type": 0,
"value": "僅域名"
} }
], ],
"metrics.filter.raw": [ "metrics.filter.raw": [
@ -757,6 +757,12 @@
"value": "指入域名" "value": "指入域名"
} }
], ],
"metrics.screens": [
{
"type": 0,
"value": "Screens"
}
],
"metrics.unique-visitors": [ "metrics.unique-visitors": [
{ {
"type": 0, "type": 0,

View File

@ -1,16 +1,17 @@
import { parseFilters, rawQuery } from 'lib/queries'; import { parseFilters, rawQuery } from 'lib/queries';
export function getPageviewMetrics(website_id, start_at, end_at, field, table, filters = {}) { export function getPageviewMetrics(website_id, start_at, end_at, column, table, filters = {}) {
const params = [website_id, start_at, end_at]; const params = [website_id, start_at, end_at];
const { pageviewQuery, sessionQuery, eventQuery, joinSession } = parseFilters( const { pageviewQuery, sessionQuery, eventQuery, joinSession } = parseFilters(
table, table,
column,
filters, filters,
params, params,
); );
return rawQuery( return rawQuery(
` `
select ${field} x, count(*) y select ${column} x, count(*) y
from ${table} from ${table}
${joinSession} ${joinSession}
where ${table}.website_id=$1 where ${table}.website_id=$1

View File

@ -10,7 +10,12 @@ export function getPageviewStats(
filters = {}, filters = {},
) { ) {
const params = [website_id, start_at, end_at]; const params = [website_id, start_at, end_at];
const { pageviewQuery, sessionQuery, joinSession } = parseFilters('pageview', filters, params); const { pageviewQuery, sessionQuery, joinSession } = parseFilters(
'pageview',
null,
filters,
params,
);
return rawQuery( return rawQuery(
` `

View File

@ -2,7 +2,12 @@ import { parseFilters, rawQuery } from 'lib/queries';
export function getSessionMetrics(website_id, start_at, end_at, field, filters = {}) { export function getSessionMetrics(website_id, start_at, end_at, field, filters = {}) {
const params = [website_id, start_at, end_at]; const params = [website_id, start_at, end_at];
const { pageviewQuery, sessionQuery, joinSession } = parseFilters('pageview', filters, params); const { pageviewQuery, sessionQuery, joinSession } = parseFilters(
'pageview',
null,
filters,
params,
);
return rawQuery( return rawQuery(
` `

View File

@ -2,7 +2,12 @@ import { parseFilters, rawQuery, getDateQuery, getTimestampInterval } from 'lib/
export function getWebsiteStats(website_id, start_at, end_at, filters = {}) { export function getWebsiteStats(website_id, start_at, end_at, filters = {}) {
const params = [website_id, start_at, end_at]; const params = [website_id, start_at, end_at];
const { pageviewQuery, sessionQuery, joinSession } = parseFilters('pageview', filters, params); const { pageviewQuery, sessionQuery, joinSession } = parseFilters(
'pageview',
null,
filters,
params,
);
return rawQuery( return rawQuery(
` `