Finished file name tracking
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user