Install
openclaw skills install @dandyer/analyticlunchQuery live traffic data, tracking links, and weekly reports from AnalyticLunch
openclaw skills install @dandyer/analyticlunchYou have access to the AnalyticLunch API for querying website traffic data, managing tracking links, and pulling competitive intelligence reports.
Every request must include the header x-api-key with the value from your config (skills.entries.analyticlunch.apiKey).
Base URL: https://analyticlunch.com
Returns all websites the user is tracking with their site IDs, domains, and status.
GET /api/traffic/sites
Use this first to discover site IDs needed for other calls.
Returns traffic overview for a specific site: total visitors, top sources, top pages, device split, daily visitor data, and conversion funnel.
GET /api/traffic/dashboard/{siteId}?period={period}
Parameters:
siteId (required): The traffic site ID from list_traffic_sitesperiod (optional): 7d, 30d, 6m, or 1y. Default: 7dWhen reporting traffic data:
Returns all tracking links for a site with their URLs, labels, and click data.
GET /api/traffic/links?siteId={siteId}
Creates a new tracking link to measure traffic from a specific source (Instagram bio, email footer, Google ad, etc.).
POST /api/traffic/links
Content-Type: application/json
{
"trafficSiteId": "{siteId}",
"destinationUrl": "https://example.com/page",
"label": "Instagram Bio",
"suggestedPlacement": "instagram_bio"
}
After creating, return the tracking URL to the user so they can place it.
Returns the most recent weekly competitive intelligence report for the user, including ranking changes, new competitors, review trends, and visibility summaries.
GET /api/weekly-report
Use exec with curl. Always include the API key header.
Example:
curl -s -H "x-api-key: $ANALYTICLUNCH_API_KEY" "https://analyticlunch.com/api/traffic/sites"
Example with POST:
curl -s -X POST -H "x-api-key: $ANALYTICLUNCH_API_KEY" -H "Content-Type: application/json" -d '{"trafficSiteId":"SITE_ID","destinationUrl":"https://example.com","label":"My Link"}' "https://analyticlunch.com/api/traffic/links"
Be conversational. Don't dump raw JSON. Summarize the key numbers and insights. For example:
"danstvmounting.com had 171 unique visitors this week. Top sources: Google Search (100), Facebook (65), Direct (24). Your most visited page after the homepage is the flush mount service page. Mobile traffic dominates at 85%."