cURL
curl --request POST \ --url https://js.hs-scripts.com/doNotTrack \ --header 'Content-Type: application/javascript' \ --data @- <<EOF "_hsq.push(['doNotTrack']);" EOF
Prevent all tracking by the HubSpot tracking code by placing a do not track cookie.
var _hsq = (window._hsq = window._hsq || []); _hsq.push(["doNotTrack"]);
Do not track request
The body is of type object.
object
Do not track enabled successfully
Was this page helpful?