Add GTM key to a new .env.development.local file in /client
// client/.env.development.local
REACT_APP_GTM_ID=<GTM Container ID>
Current GTM Staging Container ID: GTM-TT348T3
// restart docker containers to load in new env key
docker-compose down
docker-compose up
Request access to Google Tag Manager account in #business-intelligence
Disable ad blockers on tagmanager.google.com and also your localhost:3000 before continuing.
- Once you have access, you can navigate to tagmanager.google.com. You should see the FightPandemics account here.
- Click into FightPandemics Staging container.

- Click on Preview in the top right.

- Your page should refresh and you should see an orange banner stating that you are “Now Previewing Workspace”.

- Navigate to localhost:3000, you should see a Tag Manager pane at the bottom of your browser. Do a hard refresh if you don’t see the pane, or check that your adblocker is disabled.

- Your interactions with the webpage should be logged into the Summary section.
- Click on the tag you are testing and then click into that event in the Summary section. If successful, you will see the tag listed under the Tags Fired section.
