I'm integrating Google Tag Manager in my project and got everything up.
However I'm not sure whether JSON (GTM-XXXX
JSON file) should be committed or not.
I checked the code and noticed some ids and I'm not if this file is similar to google-services.json
and must not be added/committed to git.
What is the correct approach?
Asked
Active
Viewed 217 times
0

Agna JirKon Rx
- 2,321
- 2
- 29
- 44
-
What you mean with 'committed'? – Michele Pisani Jun 04 '21 at 01:09
-
1GTM-XXXX is your container Id, which should be part of your installation scripts. We usually add it to the index.html and is usually committed to version control. – Jonathan Dsouza Jun 04 '21 at 12:29
-
committed to any version control – Agna JirKon Rx Jun 04 '21 at 17:04