4 ms·
I think you can sign up for a Cloudflare account and add the JS snippet they mention to your site. It’ll look like <script defer src='https://static.cloudflare
by nindalf 6y ago
I think you can sign up for a Cloudflare account and add the JS snippet they mention to your site. It’ll look like
<script defer src='https://static.cloudflareinsights.com/beacon.min.js https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "$SITE_TOKEN"}'></script>
- hanniabu 6y agoAhhh okay thanks thought it had to be done by using cf as a cdn or something.
- nindalf 6y agoTotally understandable that you would think that. Cloudflare also provides server analytics if you use them as a CDN. That doesn't work for single page apps which don't necessarily make server requests when the URL changes, so they introduced a new product ("Web Analytics") to handle this.