{"version":3,"file":"ga4-ctwd-4Fo.js","sources":["../../../app/frontend/entrypoints/ga4.js"],"sourcesContent":["const PRODUCTION_TRACKER_ID = 'G-FJ0GPB9TP8';\nconst STAGING_TRACKER_ID = 'G-KL1V57GH0Z';\n\nconst host = window.location.hostname;\nwindow.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\n\nif (host.includes('staging.digitalpasifik.org')) {\n gtag('config', STAGING_TRACKER_ID);\n} else {\n gtag('config', PRODUCTION_TRACKER_ID);\n}"],"names":["PRODUCTION_TRACKER_ID","STAGING_TRACKER_ID","host","gtag"],"mappings":"AAAA,MAAMA,EAAwB,eACxBC,EAAqB,eAErBC,EAAO,OAAO,SAAS,SAC7B,OAAO,UAAY,OAAO,WAAa,CAAE,EACzC,SAASC,GAAM,CAAC,UAAU,KAAK,SAAS,CAAE,CAC1CA,EAAK,KAAM,IAAI,IAAM,EAEjBD,EAAK,SAAS,4BAA4B,EAC5CC,EAAK,SAAUF,CAAkB,EAEjCE,EAAK,SAAUH,CAAqB"}