• 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.

    site: https://www.dssanalytics.com

Viewing 1 replies (of 1 total)
  • Thread Starter DSS-Analytics

    (@dss-analytics)

    Thanks for your help and advice. I did look for the hook. I think I have that already.

    This what my footer looks like:

    <?php
    /**
     * 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//-->
    //SETTING PHP COOKIE
    if ($_GET['MyID']) {setcookie('MyID', $_GET['MyID'],time() + (10 * 365 * 24 * 60 * 60));}
    <script type="text/javascript">
    //<![CDATA[
    var DID=231878;
    var MyID='<?=$_COOKIE['MyID;]?>’;
    var pcheck=(window.location.protocol == "https:") ? "https://stats.sa-as.com/live.js":"https://stats.sa-as.com/live.js";
    document.writeln('<scr'+'ipt src="'+pcheck+'" type="text\/javascript"><\/scr'+'ipt>');
    //]]>
    </script>
    <!--DSS Analytics SNIPPET//-->
    
    </body>
    </html>

    [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.