---
schema_version: "1"
id: e476a57190a4c7943ea85ec6c74ebf891d574296b2f552d4536753a7ecf2998f
title: Use the Tracking and Consent API
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/pardot_api_tracking_consent.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.pardot_api_tracking_consent.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 887d151025043e0b32ef0ddbccb79c4056acfd37a45748f0bced1e30628fc6d1
description: The tracking and consent API provides functions for each step in the page view tracking process, giving you control over how Account Engagement tracks page views. After you activate the API in business unit settings, work with your developer to implement custom compliance solutions.
products:
  - Marketing
  - Marketing Cloud Account Engagement
release: "264"
---
# Use the Tracking and Consent API

The tracking and consent API provides functions for each step in the page view tracking process, giving you control over how Account Engagement tracks page views. After you activate the API in business unit settings, work with your developer to implement custom compliance solutions.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <span>All Account Engagement Editions</span></td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d85016e59">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d85016e59 ">To activate the tracking and consent API:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d85016e59 ">
              <span>Account Engagement Administrator role</span>
            </td>

          </tr>
        </tbody>
      </table>

1. Open the settings for your business unit.
    - In Account Engagement, click ![gear icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-pardot-264-0-0-production-enus/5fef4d4f-9a34-45c6-8cd3-e3200b9eeba8/pardot/images/pardot_settings_icon.png) and then select **Settings**.
    - In the Lightning app, select **Account Engagement Settings**.
2. Click **Edit** and then select **Activate the Tracking & Consent JavaScript API**.
3. Save your work.

After you activate the tracking and consent API in Account Engagement, it's ready for your developer to use.

#### See Also

- [_Developer Guide_: Tracking and Consent API](https://developer.salesforce.com/docs/marketing/pardot/guide/tracking-and-consent-overview.html)