• vizpro

    (@vizpro)


    I’m trying to add Hubspot tracking code in the footer file via ‘insert headers and footers’ plugin but it is not working.

    I already have facebook pixel added in the Header section of the plugin. Today I added hubspot tracking code in the footer section and hit ‘save’. But nothing was updated in the footer file.

    Here’s what’s present towards the end of my footer file:

    <?php wp_footer(); ?>

    </body>
    </html>

    What am I missing? Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Vizpro

    Do you have a Cache on your WordPress website? Sometimes caching software hangs onto the old page and the cache needs to be cleared to see the changes.

    However, the easy way to add the HubSpot tracking code is to instal the HubSpot Plugin:

    https://wordpress.org/plugins/hubspot-tracking-code/

    All you need to do is add your HubSpot Portal ID – it’s pretty easy to instal – the instructions are easy to follow.

    Cheers
    Mike

    @vizpro – This plugin won’t update your actual footer template file. It will print the footer data in the footer during page load

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hubspot footer code not working’ is closed to new replies.