Forums

[resolved] Adding a tracking script (3 posts)

  1. hazelbug
    Member
    Posted 3 years ago #

    Hi there,

    I am trying to add in tracking script to this site http://www.skyebuilders.com

    The instructions on the tracking site say to "Paste the copied tracking code immediately before the </body> tag" on any of the pages you want tracked - which we want all.

    <!-- Start of HubSpot Logging Code  -->
    <script type="text/javascript" language="javascript">
    var hs_portalid=10627;
    var hs_salog_version = "2.00";
    var hs_ppa = "xxxxxxxxxx.com"
    document.write(unescape("%3Cscript src='" + document.location.protocol + "//" + hs_ppa + "/salog.js.aspx' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <!-- End of HubSpot Logging Code -->
     tag

    I am new to the set up of wordpress, so do I put this in the "page.php" or main page index. and where in that code should I put it?

    Thanks very much!

  2. hazelbug
    Member
    Posted 3 years ago #

    and then it will generate on each page, right?

  3. Marsel Saeedi
    Member
    Posted 2 years ago #

    If you place it in the footer then it should appear in all pages since the footer those so.
    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Topic