WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] analytics causing website to crash (5 posts)

  1. iandmyselfme
    Member
    Posted 3 years ago #

    Okay so the website I webmaster for http://www.detroitdungeon.com has been having some analytic issues as of lately. I have the google analytics plugin installed and it was working fine for quite sometime. All of a sudden the plugin caused IE users to crash after the page had loaded. So instead of using the plug in I decided to use the code given to me by google and I placed it in the footer of the website. Doing this caused the webpage to crash with all browsers. I tried going with godaddy analytics and the same issue is happening. Any help would be GREATLY appreciated.

  2. iandmyselfme
    Member
    Posted 3 years ago #

    after the code has been placed in the footer the source code reads

    <b>Parse error</b>: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in <b>/home/content/36/5385336/html/detroitdungeon/wp-content/themes/delighted_black2/footer.php</b> on line <b>6</b>

  3. iandmyselfme
    Member
    Posted 3 years ago #

    This is the footer code.

    <?php 
    
    include('footer_content.php');$delight_mainfont = get_option('delight_mainfont');echo '<div id="footcopy"><span class="left"><a href="http://zenverse.net/delighted-black-wordpress-theme/">Delighted Black</a> designed by <a href="http://yourchristianspace.com">Christian Myspace</a> & <a href="http://www.digitaldesignzmedia.com">Designed By: Digital Designz Media Group</a></span><span class="right">In conjunction with <a href="http://pingler.com">Ping Services</a>   <span style="font-family:tahoma;">|</span>   <a href="http://frenchteacherjobs.com">French Teacher Jobs</a>   <span style="font-family:tahoma;">|</span>   <a href="http://mathsteacherjobs.com">Maths Teacher Jobs</a> </span>
    <div class="clear"></div></div></div>
    
    <!--/page-->
    
    </body></html>';
    
    ?>
  4. iandmyselfme
    Member
    Posted 3 years ago #

    and the code with analytics included

    [Code moderated as per the Forum Rules. Please use the pastebin]

    sorry for the mass replies.

  5. iandmyselfme
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic