Finished file name tracking

This commit is contained in:
2025-08-17 01:27:09 +02:00
parent bbbb760afd
commit 08a0e7b35d
7 changed files with 15 additions and 2 deletions

View File

@@ -49,3 +49,12 @@ func SendAnalyticsEvent(eventType, pathname string) error {
Pathname: pathname,
})
}
func SendCustomEvent(eventName, pathname, properties string) error {
return trackEvent(TrackingEvent{
Type: "custom_event",
Pathname: pathname,
EventName: eventName,
Properties: properties,
})
}