Home>America>network>Minimal Analytics | Minimize Google Analytics code

Minimal Analytics | Minimize Google Analytics code

Minimal Analytics

Minimize Google Analytics code

A simple code snippet for tracking page views on your website without the need to add external libraries. It is also suitable for single page applications such as React and Vue.js.

front

Google Tag Manager+Analytics=73kB

after

Fragment=1.5kB

How does this work?

This code snippet sends the page view directly to the Google Analytics API. No longer need to add Google Tag Manager and Analytics libraries. This can not only save bandwidth, but also have a huge positive impact on the loading speed of your website. If you want to use advanced features such as tracking AdWords, you should not use this feature.

Recommend