Pirsch Statistics API
Query analytics statistics by date range and filter criteria
Operations 28
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“How many visitors and page views did my site get last month?”
“What was my overall bounce rate for a date range?”
Tell an agent
Get total visitors, views, sessions and bounces for domain {id} from {from} to {to}.
Summarize overall traffic totals for {id} between {from} and {to} in timezone {tz}.
Ask an LLM
“How did my daily visitor count change over the last quarter?”
“Can I group visitors by week or month instead of by day?”
Tell an agent
Show visitors per day for domain {id} from {from} to {to}.
Chart visitors for {id} from {from} to {to} grouped by {scale}.
Ask an LLM
“Which pages on my site got the most visitors?”
“Can I search page statistics for a specific path?”
Tell an agent
List the top pages for domain {id} from {from} to {to}.
Show page statistics for {id} from {from} to {to} for paths matching {search}.
Ask an LLM
“How is traffic split between my site's different hostnames?”
“Which hostname brought the most visitors?”
Tell an agent
Break down traffic by hostname for domain {id} from {from} to {to}.
Compare visitors per hostname for {id} between {from} and {to}.
Ask an LLM
“Which websites are sending me the most visitors?”
“Where is my referral traffic coming from this month?”
Tell an agent
List referrers for domain {id} from {from} to {to}.
Show the top {limit} referring sites for {id} between {from} and {to}.
Ask an LLM
“How much of my traffic comes from search versus social versus direct?”
“Which traffic channel performs best for my site?”
Tell an agent
Break down traffic by channel for domain {id} from {from} to {to}.
Compare organic, social, direct and other channels for {id} between {from} and {to}.
Ask an LLM
“Which utm_source values brought the most visitors?”
“How many visitors came from each campaign source?”
Tell an agent
Show UTM source statistics for domain {id} from {from} to {to}.
Rank campaign sources by visitors for {id} between {from} and {to}.
Ask an LLM
“Which utm_medium, like email or cpc, drove the most traffic?”
“How do visitors split across campaign mediums?”
Tell an agent
Show UTM medium statistics for domain {id} from {from} to {to}.
Rank campaign mediums by visitors for {id} between {from} and {to}.
Ask an LLM
“Which marketing campaign brought the most visitors?”
“How did each utm_campaign perform last month?”
Tell an agent
Show UTM campaign statistics for domain {id} from {from} to {to}.
Compare my marketing campaigns by visitors for {id} between {from} and {to}.
Ask an LLM
“Which ad variant, tracked with utm_content, got more clicks through?”
“How do visitors break down by utm_content value?”
Tell an agent
Show UTM content statistics for domain {id} from {from} to {to}.
Compare utm_content variants by visitors for {id} between {from} and {to}.
Ask an LLM
“Which paid keywords tagged with utm_term brought visitors?”
“How many visitors arrived for each utm_term?”
Tell an agent
Show UTM term statistics for domain {id} from {from} to {to}.
Rank utm_term keywords by visitors for {id} between {from} and {to}.
Ask an LLM
“Which countries do most of my visitors come from?”
“How many visitors did I get from each country?”
Tell an agent
Show visitors by country for domain {id} from {from} to {to}.
Rank countries by traffic for {id} between {from} and {to}.
Ask an LLM
“Which states or regions send the most visitors?”
“Can I see traffic broken down below the country level by region?”
Tell an agent
Show visitors by region for domain {id} from {from} to {to}.
Rank regions by traffic for {id} between {from} and {to}.
Ask an LLM
“Which cities are my visitors located in?”
“What are the top cities for my site's traffic?”
Tell an agent
Show visitors by city for domain {id} from {from} to {to}.
Rank cities by traffic for {id} between {from} and {to}.
Ask an LLM
“What languages do my visitors' browsers use?”
“Should I translate my site — how many visitors prefer each language?”
Tell an agent
Show visitors by language for domain {id} from {from} to {to}.
Rank visitor languages for {id} between {from} and {to}.
Ask an LLM
“Which web browsers do my visitors use most?”
“How many visitors use Safari versus Chrome on my site?”
Tell an agent
Show visitors by browser for domain {id} from {from} to {to}.
Rank browsers by visitors for {id} between {from} and {to}.
Ask an LLM
“Which operating systems are my visitors on?”
“How many visitors come from iOS, Android, Windows or macOS?”
Tell an agent
Show visitors by operating system for domain {id} from {from} to {to}.
Rank operating systems by visitors for {id} between {from} and {to}.
Ask an LLM
“What share of my visitors are on mobile versus desktop?”
“How much of my traffic comes from phones?”
Tell an agent
Show the desktop, mobile and unknown platform split for domain {id} from {from} to {to}.
Compare mobile and desktop visitors for {id} between {from} and {to}.
Ask an LLM
“Which custom events were tracked on my site and how many visitors triggered them?”
“What metadata keys are attached to my events?”
Tell an agent
List custom events with visitor counts for domain {id} from {from} to {to}.
Show event statistics and metadata keys for {id} between {from} and {to}.
Ask an LLM
“How many visitors reached each of my conversion goals?”
“What's the conversion rate for my goals this month?”
Tell an agent
Show conversion goal statistics for domain {id} from {from} to {to}.
Report how each goal converted for {id} between {from} and {to}.
Ask an LLM
“Where do visitors drop off in my signup funnel?”
“How many people completed each step of a funnel last week?”
Tell an agent
Show step-by-step results for funnel {funnel_id} on domain {id} from {from} to {to}.
Find the drop-off between steps of funnel {funnel_id} for {id} between {from} and {to}.
Ask an LLM
“How many people are on my site right now?”
“Can I change how many seconds count as an active visitor?”
Tell an agent
Show the active visitor count for domain {id} right now.
Count visitors active on {id} in the last {start} seconds.
Ask an LLM
“Can I see a list of individual visitor sessions on my site?”
“How do I page through sessions recorded in a date range?”
Tell an agent
List visitor sessions for domain {id} from {from} to {to}.
Show {limit} sessions for {id} between {from} and {to} starting at offset {offset}.
Ask an LLM
“Which pages did a specific visitor view during one session?”
“Can I see the page-by-page journey of a single session?”
Tell an agent
Show details of session {session_id} for visitor {visitor_id} on domain {id}.
Walk through the pages visitor {visitor_id} viewed in session {session_id} on {id}.
Ask an LLM
“Is my traffic growing compared to the previous period?”
“By what percentage did visitors change versus last month?”
Tell an agent
Show growth rates for domain {id} from {from} to {to} versus the prior period.
Compare visitors and views for {id} between {from} and {to} to the period before.
Ask an LLM
“Which Google search keywords lead people to my site?”
“Can I see Search Console queries alongside my analytics?”
Tell an agent
Get Google Search Console keywords for domain {id} from {from} to {to}.
List the search terms visitors used to find {id} between {from} and {to}.
Ask an LLM
“How do I download my site's analytics as CSV?”
“Can I export a ZIP of all statistics for a date range?”
Tell an agent
Export statistics for domain {id} from {from} to {to} as CSV.
Download a ZIP archive of CSV analytics for {id} between {from} and {to}.
Ask an LLM
“How do I wipe all collected analytics for a site but keep the domain?”
“Can I delete statistics for only a specific date range?”
Tell an agent destructive · confirm first
Delete all statistics for domain {id}.
Delete {kind} statistics for domain {id} from {from} to {to}.