# Tracking code on multiple sites

**URL:** <https://community.hubspot.com/t/tracking-code-on-multiple-sites/91841>\
**Category:** Lead Capture Tools\
**Tags:** professional\
**Created:** [October 14, 2023, 9:12pm UTC](https://community.hubspot.com/t/tracking-code-on-multiple-sites/91841 "2023-10-14T21:12:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [October 15, 2023, 2:21pm UTC](https://community.hubspot.com/t/tracking-code-on-multiple-sites/91841/3 "2023-10-15T14:21:13Z")

</div>

@dwightbailey yes, you can transfer the tracking code to your new domain.

The historic data from your previous site will remain in HubSpot and the new site will start adding data as soon as the code is added.

If you’re using WordPress, you can only connect one WordPress account to HubSpot via the integration, but you can add the tracking code to as many WordPress sites as needed via the HubSpot plugin in WP.

If you’re using another CMS and have added the code manually, I recommend removing it from your old site before adding it to your new site so there’s no overlap.

---

_[View the full topic](https://community.hubspot.com/t/tracking-code-on-multiple-sites/91841)._
