:cloud: The Cloudflare Workers implementation of an async Google Analytics
The Cloudflare Workers implementation of an async Google Analytics
cfga.min.jsto accelerate the Google Analytics, rather than a heavy (45KB gzipped)
Login into Cloudflare Dashboard and enter
WorkersApp. Create a new script, delete default code in the editor, and then copy the
woker.jscontent into the editor. After saving the workers script, do not forget to register a route for the scripts.
Now you can test your workers with a simple HTTP request. You should able to see
403 Forbidden. Then you can deploy the scripts.
cfga.min.jsinto your website
Just add those few lines of the code to your website, right before