This sample demonstrates how to use the Google Analytics Measurement Protocol (or any other SQL server) on Google App Engine Managed VMs.
Before you can run or deploy the sample, you need to do the following:
- Create a Google Analytics Property and obtain the Tracking ID.
- Update the environment variables in in
app.yaml
with your Tracking ID.
Refer to the appengine/README.md file for instructions on running and deploying.
To run locally, set the environment variables via your shell before running the sample:
export GA_TRACKING_ID=<your-tracking-id>
npm install
npm start