% layout 'stats'; % my $base_url = config 'base_url';

Stats

Unique visitors last 24 hours <%=$tracking_data->{unique_ips_last_24_hours}%>

Unique visitors last week <%=$tracking_data->{unique_ips_last_week}%>

Unique visitors last month <%=$tracking_data->{unique_ips_last_month}%>

% for my $row (@$tracking_by_url) { %}
Path Visitors 24h Visitors week Visitors month
<%="${base_url}$row->{path}"%> <%=$row->{unique_ips_last_24_hours}%> <%=$row->{unique_ips_last_week}%> <%=$row->{unique_ips_last_month}%>