hajeonghun / electron-google-analytics4

electron-google-analytics4
17 stars 4 forks source link

www.google-analytics.com/mp/collect not accessible in China #13

Open bug2018 opened 2 months ago

bug2018 commented 2 months ago

I used electron-google-analytics4 and found that www.google-analytics.com/mp/collect is not accessible in China. Only running VPN can access www.google-analytics.com/mp/collect, is there any way to access without running VPN?

hajeonghun commented 2 months ago

Hi, @bug2018 It seems that the domain for Google Analytics is blocked in China by the "Great Firewall," a censorship system that restricts access to certain websites.

However, you might be able to bypass this restriction by using a proxy server to collect data. If you'd like, I can modify the current implementation to allow you to manually configure the endpoint (currently set to https://google-analytics.com/mp) so that you can set it to your proxy server instead.

bug2018 commented 2 months ago

Hi, @bug2018 It seems that the domain for Google Analytics is blocked in China by the "Great Firewall," a censorship system that restricts access to certain websites.

However, you might be able to bypass this restriction by using a proxy server to collect data. If you'd like, I can modify the current implementation to allow you to manually configure the endpoint (currently set to https://google-analytics.com/mp) so that you can set it to your proxy server instead.

Thank you for your solution to my problem