How to add a tracking code to your WordPress blog
On a typical web site, tracking code is added to the index.html page. However, WordPress is structured differently. Here is one way to add tracking codes to your WordPress blog.
- FTP (I prefer FileZilla) to your hosting account.
- Download the header.php file.
- Navigate to the file location: You path may look like this /public_html/wp-content/themes/<your theme’s name>/
- Find the </head> tag and paste your code above it. See the specific instructions for your code.
Tracking codes you might be using:
- Google Analytics - Analytics
- Crazy Egg - Heat Map
- Hit Tail - Long Tail Key Words
What tracking codes are you using?