---
schema_version: "1"
id: 19bd95a64ef5f4da1eb964a1b61d8858a0f46f66c087435b5f502fd4f254d0bb
title: Implement Tracking Code
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/pardot_admin_first_party_tracking_implement_tracking_code.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.pardot_admin_first_party_tracking_implement_tracking_code.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9f4571d973a3ff741f792553c600be6680c5a463d12841e041dd1f1879c6e5dd
description: Each Account Engagement campaign has its own unique tracking code. Add the code to a web page to track visitor and prospect activity. We recommend that you add the code to high-value pages only, such as landing pages or specific product listings. Don’t place the code on more general pages like the home page on your website.
products:
  - Marketing
  - Marketing Cloud Account Engagement
release: "264"
---
# Implement Tracking Code

Each Account Engagement campaign has its own unique tracking code. Add the code to a web page to track visitor and prospect activity. We recommend that you add the code to high-value pages only, such as landing pages or specific product listings. Don’t place the code on more general pages like the home page on your website.

### 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="d78116e59">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d78116e59 ">To view tracking code:</td>

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

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

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-mktg-pardot-264-0-0-production-enus/5fef4d4f-9a34-45c6-8cd3-e3200b9eeba8/images/icon_important.png)

Important This process implements first-party tracking code. Business units created after February 13, 2023 use first-party tracking by default. If you don’t have first-party tracking set up, [update your tracker domains to first-party tracking](https://help.salesforce.com/s/articleView?id=mktg.pardot_admin_first_party_cookie_tracking_update_tracker_domains.htm&language=en_US) or you can [implement tracking code for third-party cookie tracking instead](https://help.salesforce.com/s/articleView?id=mktg.pardot_implement_tracking_code.htm&language=en_US).

1. Open the Domain Management page.
    - In Account Engagement, select **Admin** and then select **Domain Management**.
    - In the Lightning app, select **Account Engagement Settings** and then **Domain Management**.
2. Scroll to the Tracking Code Generator and select the domain you want to generate code for.
3. (Optional) Override the default campaign.
4. Copy the code.
5. In your web page HTML, paste the campaign tracking code before the close body tag (`</body>`).