(eventName: string)
| 77 | // } |
| 78 | }, |
| 79 | trackEvent(eventName: string) { |
| 80 | if (typeof globalThis.gtag === 'function') { |
| 81 | globalThis.gtag('event', eventName.replace(/ /g, '_').toLowerCase()); |
| 82 | } |
| 83 | if (typeof globalThis.fbq === 'function') { |
| 84 | globalThis.fbq('track', eventName); |
| 85 | } |
| 86 | }, |
| 87 | }; |
| 88 | |
| 89 | return ( |
nothing calls this directly
no test coverage detected