dashboard page good
This commit is contained in:
@@ -35,14 +35,18 @@ export interface TimeSeriesData {
|
||||
}
|
||||
|
||||
export interface GeoData {
|
||||
country: string;
|
||||
region: string;
|
||||
city: string;
|
||||
location?: string;
|
||||
country?: string;
|
||||
region?: string;
|
||||
city?: string;
|
||||
visits: number;
|
||||
uniqueVisitors: number;
|
||||
uniqueVisitors?: number;
|
||||
visitors?: number;
|
||||
percentage: number;
|
||||
}
|
||||
|
||||
export type DeviceType = 'mobile' | 'desktop' | 'tablet' | 'other';
|
||||
|
||||
export interface DeviceAnalytics {
|
||||
deviceTypes: {
|
||||
type: string;
|
||||
@@ -82,4 +86,26 @@ export interface EventsSummary {
|
||||
count: number;
|
||||
percentage: number;
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface ConversionStats {
|
||||
totalConversions: number;
|
||||
conversionRate: number;
|
||||
averageValue: number;
|
||||
byType: {
|
||||
type: string;
|
||||
count: number;
|
||||
percentage: number;
|
||||
value: number;
|
||||
}[];
|
||||
}
|
||||
|
||||
export interface EventFilters {
|
||||
startTime?: string;
|
||||
endTime?: string;
|
||||
eventType?: string;
|
||||
linkId?: string;
|
||||
linkSlug?: string;
|
||||
page?: number;
|
||||
pageSize?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user