You are here: WTF » Documentation »

Tracking Code

Tracking Code

In the Tracking Code box you can put your Google Analytics (or other) tracking code.

Developer

For the tracking code to work you need to use the following method to include the code in your theme.

<?php if(function_exists('wtf_tracking_code')){ 
    echo '<script type="text/javascript">';
    wtf_tracking_code(); 
    echo '</script>';
} ?>

This will echo the Tracking Code. Note that this usually goes just before the </body> tag in your footer.php file.