Site logo

[Support request] Installing Hubspot CRM Tracking Code…Elements?

Home Forums Support [Support request] Installing Hubspot CRM Tracking Code…Elements?

Home Forums Support Installing Hubspot CRM Tracking Code…Elements?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #679061
    Josh

    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 -->
    #679077
    David
    Staff
    Customer Support

    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.

    #679173
    Josh

    Thanks David, that did the trick!

    #679176
    David
    Staff
    Customer Support

    Glad to be of help.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.