HubSpot Analytics Tracking on Salesforce Site

We have a client using Marketing Hub Pro for most marketing functions. It is fully integrated into their main website. However, they also have a separate e-commerce site that is built on Salesforce. In order to track interactions on the Salesforce site, can we simply install the HubSpot tracking code onto that site, or do we have to do something through the HS/SF integration?