Archived topic
Installing Hubspot CRM Tracking Code...Elements?
3 replies · Started by Josh on September 17, 2018
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.
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 -->
Hi there
looks like you are using Elementor Canvas which doesn't have the GP Hooks.
Try adding it to the WP_Footer. For the display rules use Entire Site and Front Page.
Thanks David, that did the trick!
Glad to be of help.