(src: string)
| 6 | * what measurement endpoints count. |
| 7 | */ |
| 8 | export const firePixel = (src: string): void => { |
| 9 | globalThis |
| 10 | .fetch(src, { |
| 11 | mode: 'no-cors', |
| 12 | credentials: 'include', |
| 13 | cache: 'no-store', |
| 14 | keepalive: true, |
| 15 | }) |
| 16 | .catch(() => undefined); |
| 17 | }; |