TapCub does not bypass a browser blocker or Do Not Track. The chat and identity scripts are inserted later, so a policy that allows only the main file still blocks them.
Parameters
Without data-api, the script derives the collect host from its own hostname: static.pathclue.com → api.pathclue.com (other regions follow the same rule, e.g. static-eu → api-eu). If the hostname does not follow that rule (you host the script yourself), hits go to the script origin. data-api may be an origin only; the script appends /api/v1/pulse. The identity, autocapture, error and replay extensions load from the script directory; the chat widget comes from chat.askcub.com and connects to ws.askcub.com. Do Not Track or Global Privacy Control makes the script return immediately unless you set data-respect-dnt="false". localhost does not send unless you add data-allow-local="true" or set a collect URL with data-api.
Defaults & limits
A content security policy must allow the hosts below (Americas region; for other regions use the hosts with the region suffix, such as static-eu and api-eu). If connect-src blocks them, both sendBeacon and fetch fail, and the page still shows no error. If you serve client.js from your own site origin and point the collect URL at the receiver, write the policy for your origin. That does not guarantee a blocker will allow it. It only stops the request from using a different hostname.
The collector returns 202 for drops and for stored hits. When the browser blocks the call, the network panel has no POST at all.
Example
<script defer src="https://static.pathclue.com/client.js" data-site="YOUR_SITE_KEY"></script>script-src https://static.pathclue.com https://chat.askcub.com
connect-src https://api.pathclue.com https://ws.askcub.com wss://ws.askcub.com
frame-src https://chat.askcub.comWithout live chat you only need static.pathclue.com and api.pathclue.com. data-chat="false" skips the widget only. It does not stop analytics.
Errors
Two copies of the script: only the first runs. If an extension script fails to load, events held for it are released so the page does not go silent. If a blocker drops the script hostname, realtime never shows the visit. See Verify your installation.