Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2012
    Posts
    149
    Thanks
    18
    Thanked 0 Times in 0 Posts

    What is this HubSpot Logging Code in my header.php

    I am switching my site to a new domain and ran across this in my header file.. Any idea what it is? I want to make sure im not missing anything when I transfer

    HubSpot Logging Code...

    <!-- Start of HubSpot Logging Code -->
    <script type="text/javascript" language="javascript">
    var hs_portalid=67132;
    var hs_salog_version = "2.00";
    var hs_ppa = "hamptonbaycushions.app6.hubspot.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 -->

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,609
    Thanks
    6
    Thanked 997 Times in 970 Posts
    There is a domain in that code you just neet do visit to find out what it is. Apparently it’s a tracking script for online marketing purposes. I despise this but take it with you if you need it.

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,899
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    http://help.hubspot.com/articles/Tut...-tracking-code

    It is your responsibility to die() if necessary….. - PHP Manual

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •