@if (showOnboarding()) {

{{ "dashboard.onboarding.title" | transloco }}

{{ "dashboard.onboarding.progress" | transloco: onboardingProgress() }}
@if (currentOnboardingStep(); as step) {
{{ "dashboard.onboarding.current" | transloco }} {{ onboardingStepLabel(step) }}
}
} @if (siteService.isLoading()) {
{{ "common.loadingSiteData" | transloco }}
} @else if (siteService.activeSite()) {
@for (card of kpiCards(); track card.label) { }

{{ chartTitle() }}

@if (hasFilters()) { {{ "dashboard.filteredBadge" | transloco }} }
@let chips = filterChips();
@if (chips.length) { @for (filter of chips; track filter.type) { {{ filter.label }} } } @else { {{ "common.noActiveFilter" | transloco }} }
@if (filteredExportState() === "success") {
{{ "dashboard.exportStatus.success" | transloco }}
} @if (filteredExportState() === "error") {
{{ "dashboard.exportStatus.error" | transloco }}
}
@if (!isShareMode()) { }

{{ "dashboard.rawHitsTitle" | transloco }}

{{ "common.columns.path" | transloco }} {{ "common.columns.time" | transloco }} {{ "common.columns.referrer" | transloco }} {{ "common.columns.device" | transloco }}
@if (siteFaviconUrl(); as favicon) { } @if (buildSiteUrl(hit.path); as pageUrl) { {{ hit.path }} } @else { {{ hit.path }} }
@if (hit.referrer) {
@if (referrerDomain(hit.referrer); as domain) { @if (faviconUrlForDomain(domain); as favicon) { } } @if (buildReferrerUrl(hit.referrer); as referrerUrl) { {{ displayReferrerUrl(hit.referrer) }} } @else { {{ hit.referrer }} }
} @else { {{ "common.direct" | transloco }} }
{{ (hit.viewport_width ?? 0) > 768 ? ("common.devices.desktop" | transloco) : ("common.devices.mobile" | transloco) }}
@if (searchConsoleDateRange(); as searchConsoleRange) { } } @else {
@if (emptyTeamName(); as teamName) {

{{ "dashboard.empty.teamTitle" | transloco: { team: teamName } }}

{{ "dashboard.empty.teamDescription" | transloco: { team: teamName } }}

} @else {

{{ "common.noSiteSelected" | transloco }}

{{ "dashboard.noSiteDescription" | transloco }}

} @if (!isShareMode()) { }
} @if (!isShareMode()) { @defer (when isAddSiteVisible()) { } }