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

    Hi!
    In addition to the Google Analytics code, I need to enter a second tracking code for HubSpot. I tired entering it right under the Google code in the Child Theme setting of my enfold theme. However, the change does not appear in the source code.

    Where do I need to add the code so it correctly tracks?

    Thanks a bunch!

    #628888

    Hey blubbline!

    As you have a child theme, please do copy the footer.php file, find

    </html>
    and paste that code just before it.
    Let us know if that works for you, as should.

    Regards,
    Basilis

    #628891

    Thanks!
    I assume I need to go into the footer.php under wp-content > themes > enfold-child ?
    I could not find ‘</html>’ in there.

    #630006

    Hi,

    Instead of editing the footer.php file, use the wp_footer filter. Example: https://kriesi.at/support/topic/insert-java-scripts-in-body/#post-579587

    Best regards,
    Ismael

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