Analytics
Event Analytics
Get comprehensive analytics for a specific event
GET
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GoodnessFx/GatePass/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve detailed analytics for an event, including sales data, attendance metrics, geographic distribution, and time-based patterns. Available to event organizers only.
Authentication
Bearer token for authentication (organizer role required)
Path Parameters
The unique identifier of the event
Response
Total revenue from ticket sales
Total number of tickets sold
Total event capacity
Daily sales breakdown
Ticket sales by tier
Attendance and check-in metrics
Geographic distribution of ticket buyers
Access Control
Only the event organizer (creator) can access analytics for their events. Attempting to view analytics for events created by other users will result in a 403 Forbidden error.Use Cases
Sales Performance
Track daily sales trends to identify:- Peak sales periods
- Impact of marketing campaigns
- Last-minute ticket purchases
- Tier popularity
Attendance Optimization
Use attendance data to:- Plan staff allocation during peak hours
- Identify optimal check-in start times
- Reduce wait times at entry
- Predict no-show rates
Geographic Insights
Understand your audience to:- Target marketing in high-performing regions
- Plan future event locations
- Arrange transportation and accommodations
- Tailor content to regional preferences
EventAnalytics Model
Analytics data is also stored in theEventAnalytics table with daily snapshots:
- ticketsSold: Cumulative tickets sold
- revenue: Total revenue
- uniqueBuyers: Number of unique customers
- checkIns: Total check-ins
- checkInRate: Attendance percentage
- noShows: Tickets purchased but not used
- topCountries: JSON array of country data
- topCities: JSON array of city data
- hourlyBreakdown: JSON array of time-based patterns