MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / trackEvent

Function trackEvent

app/services/analytics.js:2–6  ·  view source on GitHub ↗
(name, parameters)

Source from the content-addressed store, hash-verified

1export default {
2 trackEvent(name, parameters) {
3 if (window.gtag && typeof window.gtag === 'function') {
4 window.gtag('event', name, parameters);
5 }
6 },
7};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected