Light version script 
Our script is already very light, but some customers love it even lighter. That’s why we always create two versions of our script: normal and light.
Just replace latest.js with light.js in your embed script. It will look similar to this:
<script async src="https://scripts.simpleanalyticscdn.com/light.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade" /></noscript>
We support both Brotli and Gzip compression depending on the browser capabilities. To get an idea of our file sizes:
| Script | Compressed size (Gzip) | Compressed size (Brotli) | Uncompressed size |
|---|---|---|---|
| light.js | 1.9 KB | 2.0 KB | 3.3 KB |
| latest.js | 3.7 KB | 3.8 KB | 6.9 KB |
Source: giftofspeed.com for Brotli, adresults.nl/tools/gzip-compression-test for Gzip.
Features
Obviously not all features are available in our light script. Here an comparison of both versions:
| Feature | latest.js |
light.js |
|---|---|---|
| Page views | x | x |
| Referrer | x | x |
| UTM codes | x | x |
| Uniques | x | x |
| Events | x | x |
| Bot detection | x | x |
| Error reporting | x | x |
| Show warnings | x | x |
| Time on page | x | |
| Hash navigation | x | |
| Scroll depth | x | |
| SPA | x | |
| Screen sizes | x | |
| Ignore pages | x | |
| Overwrite domain name | x | |
| Ignore DNT | x |