Support » Fixing WordPress » Analytics not tracking

  • I have my analytics loaded in the footer in the correct place, but they are not tracking. I’ve been told that I need to activate the footer before it will start tracking. How do I activate a footer.

    There is nothing that says activate footer as a widget that I can drag to the widget area. The analytics are loaded correctly, I just need to know how to activate them.


Viewing 1 replies (of 1 total)
  • Thanks for your help and advice. I did look for the hook. I think I have that already.

    This what my footer looks like:

     * The template for displaying the footer.
     * Contains the closing of the id=main div and all content
     * after.  Calls sidebar-footer.php for bottom widgets.
     * @package Cryout Creations
     * @subpackage mantra
     * @since mantra 0.5
    ?>	<div style="clear:both;"></div>
    	</div> <!-- #forbottom -->
    	</div><!-- #main -->
    	<footer id="footer" role="contentinfo">
    		<div id="colophon">
    			<?php get_sidebar( 'footer' );?>
    		</div><!-- #colophon -->
    		<div id="footer2">
    			<?php cryout_footer_hook(); ?>
    		</div><!-- #footer2 -->
    	</footer><!-- #footer -->
    </div><!-- #wrapper -->
    <?php	wp_footer(); ?>
    <!--DSS Analytics SNIPPET//-->
    if ($_GET['MyID']) {setcookie('MyID', $_GET['MyID'],time() + (10 * 365 * 24 * 60 * 60));}
    <script type="text/javascript">
    var DID=231878;
    var MyID='<?=$_COOKIE['MyID;]?>’;
    var pcheck=(window.location.protocol == "https:") ? "":"";
    document.writeln('<scr'+'ipt src="'+pcheck+'" type="text\/javascript"><\/scr'+'ipt>');
    <!--DSS Analytics SNIPPET//-->

    [Moderator Note: Please post code or markup between backticks or use the code button. Or better still – use a pastebin. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)
  • The topic ‘Analytics not tracking’ is closed to new replies.