From 352dc320910a71f005917ffaa4ecdf01c87b0029 Mon Sep 17 00:00:00 2001 From: Tiago Garcia Date: Mon, 6 Nov 2023 12:08:32 +0100 Subject: [PATCH] Add new NEXT_PUBLIC_GTM_TRACKING_ID env var --- .env.default | 3 +++ README.md | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.env.default b/.env.default index a24a0f7d..487f6d47 100644 --- a/.env.default +++ b/.env.default @@ -1,5 +1,8 @@ # Google Analytics tracking ID. If you're working with an Google Analytics 4 property, you have a Measurement ID instead of a Tracking ID. NEXT_PUBLIC_GA_TRACKING_ID=G-K1N8N2NXDC +Google Tag Manager tracking ID +NEXT_PUBLIC_GTM_TRACKING_ID=GTM-NGR3WTR + # Sendgrid newsletter service SENDGRID_API_KEY_SUBSCRIPTION= diff --git a/README.md b/README.md index 775748e7..1e3499b7 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Please, **create a PR** for any improvement or feature you want to add. Try to n When vulnerabilities are detected, a warning message is displayed at the top of the repository. The list of alerts can be found in the Dependabot alerts page. -Here's a step by step guide on how to address vulnerabilities found in production code: +Here's a step-by-step guide on how to address vulnerabilities found in production code: 1. Go to the Dependabot alerts page and locate the front-end vulnerability to address 2. Identify if the vulnerability affects production code: @@ -82,10 +82,11 @@ Here's a step by step guide on how to address vulnerabilities found in productio ## Env variables -| Variable name | Description | Default value | -|-------------------------|-------------------------------------------------------------------------|------------------------------------:| -| SENDGRID_API_KEY_SUBSCRIPTION | Key to authenticate access to SendGrid e-mail platform services. | | -| NEXT_PUBLIC_GA_TRACKING_ID | Google Analytics tracking ID. | | +| Variable name | Description | Default value | +|-------------------------------|------------------------------------------------------------------|--------------:| +| SENDGRID_API_KEY_SUBSCRIPTION | Key to authenticate access to SendGrid e-mail platform services. | | +| NEXT_PUBLIC_GA_TRACKING_ID | Google Analytics tracking ID. | | +| NEXT_PUBLIC_GTM_TRACKING_ID | Google Tag Manager tracking ID. | |