<% const palette = ['#cee5ff', '#39a8ff', '#ffcf5f', '#ff7a7a', '#c08bff', '#5ff0d0', '#ff9f43', '#8fbf00', '#ff5fd2', '#7a8cff']; const flag = (cc) => { if (!cc || cc.length !== 2) { return ''; } return String.fromCodePoint(...[...cc.toUpperCase()].map(c => 0x1F1E6 + c.charCodeAt(0) - 65)); }; const colorMap = {}; countryStats.forEach((c, i) => { if (c.code) { colorMap[c.code] = palette[i % palette.length]; } }); const countryMax = countryStats.reduce((m, c) => Math.max(m, c.count), 0) || 1; const providerMax = providerStats.reduce((m, p) => Math.max(m, p.count), 0) || 1; const countryCount = new Set(countryStats.map(c => c.code).filter(Boolean)).size; %> <%- include('../partials/head'); -%> <%- include('../partials/admin-stalker-css'); -%> Admin - IP Map <%- include('../winter'); -%>
Back to dashboard

IP Map

<%= points.length %> locations <%= countryCount %> countries <%= totalVisits %> visits
Reset

Locations marker size scales with visits, colour follows country

<% if (countryStats.length) { %>
<% countryStats.slice(0, 10).forEach((c, i) => { if (!c.code) { return; } %> <%= flag(c.code) %> <%= c.country %> (<%= c.count %>) <% }) %>
<% } %>

Visits by country

<% if (countryStats.length) { %>
<% countryStats.forEach((c, i) => { %>
<%= flag(c.code) %> <%= c.country %> <%= c.count %>
<% }) %>
<% } else { %>

No geolocation data in this range.

<% } %>

Visits by provider

<% if (providerStats.length) { %>
<% providerStats.forEach(p => { %>
<%= p.provider %> <%= p.count %>
<% }) %>
<% } else { %>

No provider data in this range.

<% } %>
<%- include('../footer'); -%>