We have done this on client's websites that are not on the HubSpot CMS and use GTM for other purposes. We have not experienced and issues with it. The pros are the same as with GTM in general:
Easily adding, removing, adjusting tags without needing a developer
Choosing which tags fire on which pages
Choosing which tags fire on which conditions
Josh
Did this post help solve your problem? If so, please mark it as a solution.
Josh Curcio HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers. HubSpot Diamond Partner & HubSpot Certified Trainer
Running the HubSpot code through Google Tag Manager
SOLVE
There are so many variables...
If it were a WordPress site and you are using the plugin, it's unnecessary.
For our company, it would be a best practice if other tags were using GTM. We probably wouldn't deploy GTM for this sole purpose unless there was another underlying reason.
Did this post help solve your problem? If so, please mark it as a solution.
Josh Curcio HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers. HubSpot Diamond Partner & HubSpot Certified Trainer
We have done this on client's websites that are not on the HubSpot CMS and use GTM for other purposes. We have not experienced and issues with it. The pros are the same as with GTM in general:
Easily adding, removing, adjusting tags without needing a developer
Choosing which tags fire on which pages
Choosing which tags fire on which conditions
Josh
Did this post help solve your problem? If so, please mark it as a solution.
Josh Curcio HubSpot support and inbound marketing for OEMs, contract manufacturers, and industrial suppliers. HubSpot Diamond Partner & HubSpot Certified Trainer
Running the HubSpot code through Google Tag Manager
SOLVE
Hi Josh,
My website is using sitecore CMS and I've installed the hubspot tracking code via GTM. Unfortunately it's blocked -
In theNamecolumn, look for[your Hub ID].js (e.g., 401264.js). Under the name, you may seefrom js.hs-scripts.comand/or an instance of this .js elementfrom js.hs-analytics.com.
Next to[your Hub ID].js,you should see304 Not Modifiedor200 OKin theStatuscolumn.
Do you know any ways that I can install the hubspot code properly? thanks a lot!