I’m trying to install Hubspot CRM tracking code into my site. The instructions say it needs to go before the closing </body> tag on every page of the site.
https://knowledge.hubspot.com/articles/kcs_article/reports-settings/install-the-hubspot-tracking-code
I put the code in an Element on the before_footer hook set to display in Entire Site.
Hubspot app still says ‘Tracking code not found’. What’s the best way to get this working on GeneratePress? Thanks
Tracking Code:
<!-- Start of HubSpot Embed Code -->
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/4927469.js"></script>
<!-- End of HubSpot Embed Code -->