Google Analytics Proxy (GAP) provides a Proxy Service to Google’s Measurement Protocol and a replacement for Google Analytic’s client-side JavaScript (analytics.js) to increase privacy and help prevent possible data leakage.
To minimize implementation changes, GAP attempts to mirror syntax from analytics.js.
The proxy service is intended to be run as an AWS Lambda.
Technologies
AWS Lambda – The service will serve as an AWS Lambda instance.
aws-serverless-express – The server is built with ExpressJS with the npm module specifically for AWS Lambda.