Lead Capture Tools

dwightbailey
Contributor

Tracking code on multiple sites

SOLVE

Is it possible to transfer hubspot tracking code into a different site? We have a new website under a new domain and I want to ensure we can continue tracking existing web visitors etc in our hubspot crm.

0 Upvotes
1 Accepted solution
Jnix284
Solution
Hall of Famer

Tracking code on multiple sites

SOLVE

@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.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

View solution in original post

8 Replies 8
Jnix284
Solution
Hall of Famer

Tracking code on multiple sites

SOLVE

@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.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
AJ_Kakrot
Participant

Tracking code on multiple sites

SOLVE

@Jnix284 i have a question here, we have two website created in WordPress in this case we want to use HubSpot forms and tracking code to be added. Is that doable for both the website? Do i need to install plugin for both WordPress account? 

0 Upvotes
Jnix284
Hall of Famer

Tracking code on multiple sites

SOLVE

Hi @AJ_Kakrot yes, you can add the tracking code to multiple wordpress websites. You'll also need to update your settings in HubSpot here to ensure everything works as expected.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
AJ_Kakrot
Participant

Tracking code on multiple sites

SOLVE

@Jnix284 thanks, so i need to add the domain of other sites too, right? And form embedding form do i need to install WordPress plugin for each WordPress account or can i directly add the tracking code and HubSpot forms? 

0 Upvotes
Jnix284
Hall of Famer

Tracking code on multiple sites

SOLVE

@AJ_Kakrot yes, you'll add each domain for each wordpress site that you want to track with Hubspot.

 

It's up to you - if you want to use the plugin and keep your existing forms (like if you have multi-step forms) or if you want to replace your forms with HubSpot forms and use the tracking code. You'll need to decide for each account what's best.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
AJ_Kakrot
Participant

Tracking code on multiple sites

SOLVE

@Jnix284 thanks again, so what if I do not want to use plugin. Can I directly embed HubSpot forms on WordPress and apply styling making sure the WordPress page/website has the HS tracking code will that work? 

0 Upvotes
Jnix284
Hall of Famer

Tracking code on multiple sites

SOLVE

Yes @AJ_Kakrot if you replace the forms with HubSpot forms and have the tracking code configured, your data should come through without the plugin (you'll need to test to confirm everything is working properly). You can add the styling to the form via CSS as needed.

 


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
0 Upvotes
johnelmer
Top Contributor | Elite Partner
Top Contributor | Elite Partner

Tracking code on multiple sites

SOLVE

@dwightbailey  The short answer is "yes".

Did this post help solve your problem? If so, please mark it as a solution

John Elmer, CEO

Bayard Bradford

Bayard Bradford - an Elite HubSpot Solutions Partner
Advanced Implementations & Integrations | HubSpot Portal Migration Leaders | Datawarehouse.io Apps for HubSpot