I want to add my Google Analytics Tracking ID- UA-XXXXXXXXX-X to my svelte app. I found two ways of doing it. First using Install the global site tag here <!
const measurement_id = `G-XXXXXXXXXX`; const api_secret = `<secret_value>`; fetch(`https://www.google-analytics.com/mp/collect?measurement_id=${measureme