{{define "user/visitors.html"}} {{template "user/layout_head" .}} {{template "user_pagehead" (dict "Icon" "bx-user-voice" "Title" (T "user.visitors.title") "Desc" (T "user.visitors.page_desc"))}}
{{T "user.visitors.reset"}}
{{T "user.visitors.page_prefix"}} {{index (index .Data "Summary") "total"}} {{T "user.visitors.page_suffix"}} {{T "user.visitors.marked"}} {{index (index .Data "Summary") "tagged"}} {{T "user.visitors.mobile"}} {{index (index .Data "Summary") "mobile"}} {{T "user.visitors.total_visits"}} {{index (index .Data "Summary") "visits"}} {{T "user.visitors.times_suffix"}}
{{range index .Data "Visitors"}} {{else}} {{end}}
{{T "user.visitors.col_visitor"}} {{T "user.visitors.filter_site"}} {{T "user.visitors.col_device_landing"}} {{T "user.visitors.col_tags"}} {{T "user.visitors.col_visits"}} {{T "user.visitors.col_active"}} {{T "user.visitors.col_actions"}}
{{.visitor_label}}
{{if gt (asInt .lead_level) 0}} {{.lead_level_name}} {{end}} {{if .ip_last_masked}}{{.ip_last_masked}}{{if .geo_short}} · {{.geo_short}}{{else if .geo_label}} · {{.geo_label}}{{end}}{{end}} {{if .external_user_id}}{{.external_user_id}}{{end}} {{if .email}}{{privacy "email" .email}}{{end}}
{{.site_name}}
{{if eq .device_type "mobile"}} {{else if eq .device_type "tablet"}} {{else}}{{end}} {{.device_label}}{{if .browser}} · {{.browser}}{{end}}{{if .os}} · {{.os}}{{end}}
{{if .landing_url}} {{privacy "url" .landing_url}} {{else if .landing_url_short}} {{privacy "text" .landing_url_short}} {{end}}
{{if .tags}} {{range .tags}}{{.}}{{end}} {{else}}—{{end}} {{if .agent_notes_short}} {{.agent_notes_short}}{{end}} {{.visit_count}}
{{unixTime .last_seen_at}}
{{if .first_seen_at_text}}
{{T "user.visitors.first"}} {{.first_seen_at_text}}
{{end}}
{{T "user.visitors.empty_title"}}

{{T "user.visitors.empty_hint"}}

{{template "user/session_chat_modal" .}} {{template "user/layout_foot" .}} {{end}}