|  | @@ -1,5 +1,6 @@
 | 
											
												
													
														|  |  export const trackEvent =
 |  |  export const trackEvent =
 | 
											
												
													
														|  | -  process.env.REACT_APP_GOOGLE_ANALYTICS_ID &&
 |  | 
 | 
											
												
													
														|  | 
 |  | +  typeof process !== "undefined" &&
 | 
											
												
													
														|  | 
 |  | +  process.env?.REACT_APP_GOOGLE_ANALYTICS_ID &&
 | 
											
												
													
														|  |    typeof window !== "undefined" &&
 |  |    typeof window !== "undefined" &&
 | 
											
												
													
														|  |    window.gtag
 |  |    window.gtag
 | 
											
												
													
														|  |      ? (category: string, name: string, label?: string, value?: number) => {
 |  |      ? (category: string, name: string, label?: string, value?: number) => {
 | 
											
										
											
												
													
														|  | @@ -9,7 +10,7 @@ export const trackEvent =
 | 
											
												
													
														|  |            value,
 |  |            value,
 | 
											
												
													
														|  |          });
 |  |          });
 | 
											
												
													
														|  |        }
 |  |        }
 | 
											
												
													
														|  | -    : typeof process !== "undefined" && process?.env?.JEST_WORKER_ID
 |  | 
 | 
											
												
													
														|  | 
 |  | +    : typeof process !== "undefined" && process.env?.JEST_WORKER_ID
 | 
											
												
													
														|  |      ? (category: string, name: string, label?: string, value?: number) => {}
 |  |      ? (category: string, name: string, label?: string, value?: number) => {}
 | 
											
												
													
														|  |      : (category: string, name: string, label?: string, value?: number) => {
 |  |      : (category: string, name: string, label?: string, value?: number) => {
 | 
											
												
													
														|  |          // Uncomment the next line to track locally
 |  |          // Uncomment the next line to track locally
 |