Update Analytics
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
// @ts-nocheck
|
||||
|
||||
// Send page
|
||||
export const sendPage = (path: string) => {
|
||||
export const sendPage = (path: string = '') => {
|
||||
if (typeof Countly !== 'undefined') {
|
||||
Countly.track_pageview()
|
||||
Countly.track_pageview(path)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user