Reduce network requests by sending page hit data to Google Analytics in batches

One step better than GA async script: here is a proof of concept for making GA much more efficient

 

This proof of concept demonstrates that you can use localStorage to batch analytics data.

I’d love to see Google offer this type of snippet as a standard option!

View the proof of concept on davidmurdoch.com