Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_track(eventName, params) {
if (eventName === "pageView") {
analytics.page(params.category, params);
return;
}
analytics.track(eventName, params);
}
/**
_track(eventName, params) {
if (eventName === "pageView") {
analytics.page(params.category, params);
return;
}
analytics.track(eventName, params);
}
/**