You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -358,3 +358,8 @@ docker-compose run --rm backend nmdc-server shell
358
358
```
359
359
360
360
You can also pass `--print-sql` to output all SQL queries.
361
+
362
+
## Google Analytics
363
+
364
+
The frontend Vue app is configured to work with Google Analytics. There are two Google Anlytics "properties"for the NMDC Data Portal. One is for the production site. One is for the dev site as well as local development. Each GA property has its own GA ID associated with it. This ID gets pulled into the view app from an environment variable called `VUE_APP_NMDC_GOOGLE_ANALYTICS_ID`. You can set this inside a `.env` file inside the `web` directory (note this is separate from the `.env` file at the root of the project).
0 commit comments