---
schema_version: "1"
id: bca5c4922c9cae55d257b3a3ebaa1b5f86b2430e807683a033a95e87dc371a46
title: Considerations for Visitor Tracking
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/pardot_admin_tracker_domain_visitor_tracking.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.pardot_admin_tracker_domain_visitor_tracking.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: d3eec0a17a24f8d44c61f2952f38cf627e63ac900571f47b2615d10b5c19c48a
description: When managing tracker domains and visitor tracking, keep these considerations in mind.
products:
  - Marketing
  - Marketing Cloud Account Engagement
release: "264"
---
# Considerations for Visitor Tracking

When managing tracker domains and visitor tracking, keep these considerations in mind.

### 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>

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

Note Pardot is now known as Marketing Cloud Account Engagement. We wish we could snap our fingers to update the name everywhere, but you can expect to see the previous name in a few places until we replace it, including in the app itself.

## General Considerations

- First-party tracking is enabled by default in business units created after February 13, 2023. If your business unit was created before February 13, 2023, [upgrade to first-party tracking](https://help.salesforce.com/s/articleView?id=mktg.pardot_admin_first_party_cookie_enable.htm&language=en_US).
- First-party cookies don’t track across domains, but they can track across subdomains of the same root domain. Use only one tracker domain or associate multiple subdomains with the same root domain for all assets in your marketing campaign. For example, go1.site.com and go2.site.com instead of go.siteA.com and go.siteB.com.
- A visitor record is created when a person lands on a tracked web page or tracker domain. When they visit other pages with a matching root domain, their activity is tracked. If the same person visits a page with a different root domain, a second visitor record is created, even if the visited page is a parent or subdomain of a tracked URL.
- Use only HTTPS links in your marketing campaigns. When you use a combination of HTTPS and HTTP, visitor activity is attributed incorrectly.
- We don’t recommend changing tracker domains on Account Engagement assets. Changing the domain resets cookies and visitor data isn’t linked between the old and new tracking domains. If you must change a domain, you can enable third-party cookies in Account Engagement Settings to link visitor data.
- Campaign IDs are obscured in the tracker code. Don’t insert the campaign ID directly into the tracker code.
- Embedded forms and hosted forms on web pages don’t create a visitor cookie. We recommend using a landing page instead. If you can’t use a landing page, use a custom redirect to create a visitor ID cookie before the page loads. This workaround ensures that a visitor ID is present and captures the first form view.
- Embedded forms and standalone forms don’t record form views on first visit to a domain.

## When Browsers Don’t Allow Third-Party Cookies

The first-party tracking approach has some additional considerations when third-party cookies aren’t allowed by a browser.

- Activity isn’t tracked across subdomains of the same root domain. Progressive profiling and prefill features for forms also don’t work across subdomains.
- When the tracker domain is changed on an Account Engagement asset, cookies are reset and visitor data can’t be linked between the old and new tracking domains.

## API Considerations

- To automatically embed tracking code for your primary tracker domain, use the Account API endpoint. If you have multiple tracker domains, manually add the tracking code for the remaining domains.
- To query tracker domains that use first-party cookies, use version 5 of the Account Engagement API. The tracker code is related to the default campaign for the tracker domain.