<%- include('../../partials/sidebar', {user,page}) %>
Dashboard
<%=user.first_name.charAt(0).toUpperCase()%>

Good <%= new Date().getHours() < 12 ? 'morning' : new Date().getHours() < 17 ? 'afternoon' : 'evening' %>, <%=user.first_name%> 👋

Here's your Pinterest SEO overview.

<% [ {label:'Keyword Searches',value:stats.keyword_searches,icon:'🔍',color:'blue'}, {label:'Pin Analyses',value:stats.pin_analyses,icon:'📌',color:'purple'}, {label:'Pins Generated',value:stats.pin_generations,icon:'🤖',color:'red'}, {label:'Saved Keywords',value:stats.saved_keywords,icon:'🔖',color:'green'}, ].forEach((s,i) => { %>
<%=s.icon%>
<%=s.value%>
<%=s.label%>
<% }) %>

Quick actions

<% [ {label:'Research keywords',href:'/tools/keywords',icon:'🔍'}, {label:'Analyze a pin',href:'/tools/pins',icon:'📌'}, {label:'Check trends',href:'/tools/trends',icon:'📈'}, {label:'Analyze board',href:'/tools/boards',icon:'📋'}, {label:'Spy competitor',href:'/tools/competitors',icon:'🕵️'}, {label:'Generate pin',href:'/tools/generator',icon:'🤖',star:true}, ].forEach(q => { %>
<%=q.icon%>
<%=q.label%>
<% if(q.star){%>
AI
<%}%>
<% }) %>

Recent activity

<% if (stats.recent_activity && stats.recent_activity.length > 0) { %>
<% stats.recent_activity.forEach(a => { %>
<%= a.type === 'keyword' ? '🔍' : a.type === 'pin' ? '📌' : '🤖' %>
<%=a.label%>
<%= new Date(a.created_at).toLocaleDateString() %>
<%=a.type%>
<% }) %>
<% } else { %>
🌱
No activity yet. Start by researching a keyword!
<% } %>

Daily usage (free plan)

<% [ {label:'Keyword searches',used:user.api_calls_today,limit:10}, {label:'Pin analyses',used:0,limit:5}, {label:'Pin generations',used:0,limit:5}, ].forEach(u => { const pct = Math.min(100, Math.round((u.used/u.limit)*100)); %>
<%=u.label%> <%=u.used%>/<%=u.limit%>
<% }) %>

Usage resets daily at midnight UTC.

Upgrade for unlimited access →