Comments (1)
👋🏻 Hello @sneko! Thanks for the questions. To answer them in no particular order:
the version hardcoded to "1"
This project was written targeting the older GA version because I had several existing properties that had various pieces of custom tracking code that I wanted to eliminate.
GA4 isn't currently supported, but that's only because I haven't had time to implement it yet.
why it's not possible to leave the choice of the destination property to the frontend?
This project is primarily intended (as this is how I'm using it) to be deployed as a sidecar container within an existing pod, where that pod serves a single site (or property). The solution to supporting multiple properties is to deploy them as multiple pods, and have individual proxy sidecars for each.
Multiple (vhost-style?) property selection could potentially work, but you would need to maintain a mapping of domains to property IDs.
Is there any limitation for that?
The general goal of this project is to make the collection of analytics completely transparent to both the user agent, as well as to the webservice. Passing GA property IDs back and forth would violate both of these rules, at which point you might as well just use gtag.js etc.
Hopefully that provides some insight. I'm also happy to talk about potential improvements or review pull requests 🙂
Cheers!
from google-analytics-proxy.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-analytics-proxy.