-
Notifications
You must be signed in to change notification settings - Fork 1
Instructions
Yuhui edited this page Apr 22, 2021
·
1 revision
- In the Token field, add the token from your Cloudflare Web Analytics snippet.
For example, if your snippet is this:
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "42e216b9090ru59384ygu891dce9eecde"}'></script>
Then your token is 42e216b9090ru59384ygu891dce9eecde
.
-
(optional) If you have a Single Page Access (SPA) website, you can choose to disable measuring it. In the Enable for Single Page Applications (SPAs), choose False or a variable that evaluates to the boolean value
false
.
By default, Cloudflare Web Analytics enables measuring SPAs automatically by overriding the History API's pushState
function and listening to the onpopstate
. Hash-based router is not supported.
Copyright © 2021 Yuhui. All rights reserved.
Licensed under the Apache License version 2.0. Terms of Service | Privacy Policy | Cookie Policy | Acceptable Use Policy