# Installing the same hubspot tracking code on two different websites

**URL:** <https://community.hubspot.com/t/installing-the-same-hubspot-tracking-code-on-two-different-websites/94761>\
**Category:** Reporting & Analytics\
**Tags:** website-pages, analytics-tools, best-practices, enterprise\
**Created:** [November 25, 2023, 11:20am UTC](https://community.hubspot.com/t/installing-the-same-hubspot-tracking-code-on-two-different-websites/94761 "2023-11-25T11:20:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnouarDak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anouardak/32/70833_2.png) [@AnouarDak](https://community.hubspot.com/u/AnouarDak)\
**Post date:** [November 25, 2023, 11:20am UTC](https://community.hubspot.com/t/installing-the-same-hubspot-tracking-code-on-two-different-websites/94761/1 "2023-11-25T11:20:00Z")

</div>

Hello,

What is the best way to track different websites on Hubspot ( is it possible to install the same tracking code on both domains ? )

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [November 25, 2023, 11:35am UTC](https://community.hubspot.com/t/installing-the-same-hubspot-tracking-code-on-two-different-websites/94761/2 "2023-11-25T11:35:47Z")

</div>

Hi @AnouarDak

Yes, that possible and not a problem at all.

You might want to activate [cross-domain tracking](https://knowledge.hubspot.com/reports/set-up-sources-tracking#track-multiple-domains-with-cross-domain-linking) when tracking multiple domains with one tracking code.

Cheers

Frank
