Agoragentic Analytics API
Self-hosted analytics and tracking
Operations 4
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 do I track a page view once the visitor has given analytics consent?”
“What happens if I send a pageview without current consent?”
Tell an agent
Record a pageview of {page} under consent version {consent_version}.
Log a visit to {page} from referrer {referrer} for session {session_id}, consent {consent_version}.
Ask an LLM
“How do I track a custom event like a button click with a category and label?”
“Can I attach a numeric value to a tracked event?”
Tell an agent
Track event {event} with consent version {consent_version}.
Record event {event} in category {category} labeled {label} with value {value}, consent {consent_version}.
Ask an LLM
“How do I log that a user reached a particular step in a conversion funnel?”
“Can funnel steps carry a name and extra metadata?”
Tell an agent
Record step {step} of funnel {funnel} under consent {consent_version}.
Log funnel {funnel} step {step} named {step_name} for session {session_id}, consent {consent_version}.
Ask an LLM
“Where can I see the immutable log of platform events?”
“How many audit log entries can I pull at once?”
Tell an agent
Show the platform audit log.
Get the latest {limit} audit trail entries.