Title: HitTail Code
Last modified: August 18, 2016

---

# HitTail Code

 *  [johncsadler](https://wordpress.org/support/users/johncsadler/)
 * (@johncsadler)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/hittail-code/)
 * 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=”[http://25740.hittail.com/mlt.js&#8221](http://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)

 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/hittail-code/#post-615706)
 * 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](https://wordpress.org/support/users/johncsadler/)
 * (@johncsadler)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/hittail-code/#post-615708)
 * 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=”[http://25740.hittail.com/mlt.js&#8221](http://25740.hittail.com/mlt.js&#8221);
   type=”text/javascript”></script> <!–End HitTail Code–>
 * <div id=”container”>
 *  <div id=”masthead”>
 * Will that do it?
 * John
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/hittail-code/#post-615896)
 * 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.

## Tags

 * [body tags](https://wordpress.org/support/topic-tag/body-tags/)
 * [code insert](https://wordpress.org/support/topic-tag/code-insert/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/hittail-code/#post-615896)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
