• I want to use HitTail to see which search terms my hits come from. The code is inserted in between the body tags in html, but I cannot find where to put it in the WordPress php files.

    The code is as follows:
    <!–HitTail Code–>
    <script src=”https://25740.hittail.com/mlt.js&#8221; type=”text/javascript”></script>
    <!–End HitTail Code–>

    Please can anyone point me in the right direction?

    Many thanks John UK

Viewing 3 replies - 1 through 3 (of 3 total)
  • Look in your header.php file in your theme editor and then look for the starting body tag and just insert it after that.

    Thread Starter johncsadler

    (@johncsadler)

    Thanks Jeremy, I only found a single line in header.php with body included rather than an opening and closing body tag, but I have put it into the line that follows:

    </head>
    <body class=”custom”>
    <!–HitTail Code–>
    <script src=”https://25740.hittail.com/mlt.js&#8221; type=”text/javascript”></script>
    <!–End HitTail Code–>

    <div id=”container”>

    <div id=”masthead”>

    Will that do it?

    John

    That should do just fine. As long as the script doesn’t produce any visible output, but a counter script rarely does.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HitTail Code’ is closed to new replies.