This commit is contained in:
parent
a93ba30322
commit
790b1352fe
1 changed files with 6033 additions and 22226 deletions
|
|
@ -11,10 +11,7 @@ const ANALYTICS_LOGGING = process.env.NODE_ENV !== 'production';
|
|||
|
||||
let isInitialized = false;
|
||||
|
||||
export const track = (
|
||||
eventName: string,
|
||||
options: PlausibleEventOptions = {}
|
||||
) => {
|
||||
export const track = (eventName: string, options: PlausibleEventOptions = {}) => {
|
||||
try {
|
||||
plausibleTrack(eventName, options);
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue