joshdk / joshdk/google-analytics-proxy

Why is the proxy limited to only 1 property/trackingID? And to version 1?

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi @joshdk ,

I'm wondering why it's not possible to leave the choice of the destination property to the frontend? Is there any limitation for that? Same for the version hardcoded to "1"?

The proxy could totally rely on the request from the user no? For example by receiving `?v=2&tid=G-AAAAAAA>m=2o` we can forward to the version "2" with the right trackingID. And for more security the docker could take as environment variable a whitelist of multiple trackingIDs?

What do you think?

(I did not try for now, just looking around which proxy would fit forwarding to GA4 with geolocation...)

Thank you,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.