Set up your own server to increase Google Analytics loading speed

Set up your own server to increase Google Analytics loading speed

Google Analytics is a good website statistics service. The statistics service can be used directly in China, but there is a delay in the speed. The following code establishes a statistics relay on a foreign host (A), and then the website (B) requests statistics (A). Or you can directly transfer the code to your own website server, and then quote and count it.

Code download : GoogleAnalyticsAsync.zip

Modify lines 2 and 4 of analytics.php as instructed.

Google Analytics' tid is viewed in the statistics code:

Google Analytics official website: https://analytics.google.com

Code from: stneng.com

<<:  GreenCloudVPS: $28.8/year/1GB memory/200GB space/1.5TB traffic/KVM/Los Angeles

>>:  Enoctus: $25/year/512MB memory/12GB SSD space/500GB bandwidth/KVM/Los Angeles/UK

Recommend

Host1Plus.com launches 40% discount coupon

1.Now, users who purchase Host1Plus.com virtual h...

[Black Friday] ethernetservers discounts

ethernetservers, a stable merchant, is worth choo...

Time4VPS: €9.55/year/256MB RAM/256GB storage/2TB bandwidth/OpenVZ/Lithuania

Time4VPS is affiliated to Interneto vizija (estab...

Aoyouhost 2GB RAM SSD hard disk 50Mbps port Germany CN2 GIA KVM VPS review

Details : Aoyouhost: KVM VPS in CN2, Japan Softba...