To set up a tracking domain, go to your general settings, then find the Content section in the left sidebar and select Domains & URLs.
Once you're on the Domains & URLs settings page, you can set up a tracking domain if the desired domain is already connected to your HubSpot account. If it’s not, you can add it by clicking the orange Connect a domain button. Here’s HubSpot’s official guide for this step.
After you’ve added or selected the domain you want to use for tracking links, you need to assign the actions that this domain will handle. To do this, click the Actions button next to your domain.
Next, in the pop-up window, click the Change primary content types button.
Next, you need to select the actions that will be assigned to this domain. We recommend keeping at least Marketing email and Sales & service email (tracking) on the domain you’ll use for your campaigns. You can also add any other categories you need.
After that, everything is set up. Your tracking domain will automatically be used in all future email campaigns, replacing HubSpot’s default tracking links. This helps keep your links consistent with your brand and can improve trust and deliverability.