---
schema_version: "1"
id: 130394a3287b1fca5ce6083a21fea98885445242745c8841ec45fa69a739f72c
title: Do Not Track Script
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_ctc_do_not_track.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_do_not_track.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 467cf50a4544ae2e277dc5414fc6064b7d66c2e2ba146a592c1a77e2efddefe5
description: Use Do Not Track Script code to suppress Collect Tracking Code on your website when a subscriber opts out of tracking. Collect Tracking Code doesn’t use browser settings to determine whether to track user activity.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Do Not Track Script

Use Do Not Track Script code to suppress Collect Tracking Code on your website when a subscriber opts out of tracking. Collect Tracking Code doesn’t use browser settings to determine whether to track user activity.

This code suppresses all tracking activities, including:

- trackCart
- trackConversion
- trackEvent
- trackPageView
- trackRating

Use this code in place of the standard Set Org ID script:

```
<script type="text/javascript">
   _etmc.push(["setOrgId", "123456"]);
   _etmc.push(["doNotTrack"]);
   _etmc.push(["trackPageView"]);
   </script>
```

For information about managing privacy settings programmatically, see [Personalization Builder API](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/pb-api.html).

#### See Also

- [Configure Collect Tracking Code for Personalization Builder](https://help.salesforce.com/s/articleView?id=mktg.mc_ctc_configure_collect_code_for_predictive_content.htm&release=264.0.0&type=5 "Set up Marketing Cloud Engagement to work with Collect Tracking Code and Personalization Builder.")
- [Consent Management for Marketing Cloud Engagement](https://help.salesforce.com/s/articleView?id=xcloud.consent_management_marketing.htm&language=en_US)
- [Data Deletion for Marketing Cloud Engagement](https://help.salesforce.com/s/articleView?id=xcloud.data_deletion_marketing.htm&language=en_US)