When to use GF HubSpot Analytics Code vs HS Script Loader?

Hi All,

I am wondering if I have the HubSpot tracking script loading on my pages via GTM (or just on the page):

<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/######.js"></script>

Do I still need the Gravity Forms HubSpot script to load as well:

<!-- Start of Async HubSpot Analytics Code -->
<script type="text/javascript">
(function(d,s,i,r) {
if (d.getElementById(i)){return;}
var n=d.createElement(s),e=d.getElementsByTagName(s)[0];
n.id=i;n.src='//js.hs-analytics.net/analytics/'+(Math.ceil(new Date()/r)*r)+'/#######.js';
e.parentNode.insertBefore(n, e);
})(document,"script","hs-analytics",300000);
</script>
<!-- End of Async HubSpot Analytics Code -->

I know how to disable it, my question is why is this script being included? Doesn’t it already load from the hs-script-loader?

Thanks in advance!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.