Page 93 of 217 FirstFirst ... 43839192939495103143193 ... LastLast
Results 921 to 930 of 2161
  1. #921
    Join Date
    Feb 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I've had the google analytics mod running for a while just fine. But I notice a week ago that no stats are being received by google. A quick view source of my site (www.tracyh.co.nz) reveals that half of the GA javascript is missing eg..

    [FONT="Courier New"]<!--eof- site copyright display -->


    <script type="text/javascript">
    <!--
    if(!pageTracker) {
    var pageTracker = _gat._getTracker('my-ga-account-no');
    pageTracker._initData();
    pageTracker._trackPageview();
    }
    //-->
    </script>


    </div>
    <!--bof- parse time display -->
    [/FONT]

    (have replace the ga account no).

    I've checked the GA mod code and it's the same as the original.

    Any ideas?

    Thanks very much
    Tim Huffam

  2. #922
    Join Date
    Feb 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by thuffam View Post
    I've had the google analytics mod running for a while just fine. But I notice a week ago that no stats are being received by google. A quick view source of my site (www.tracyh.co.nz) reveals that half of the GA javascript is missing eg..
    After double checking the code line for line - I found that even though the ga mod code files were the same size - the one on the site looks like it has been hacked - as exactly 296 characters of the file tpl_footer_googleanalytics.php had been replaced with spaces. These ones specifically:
    [FONT="Courier New"]<script type="text/javascript">
    <!--
    if(!gaJsHost) {
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    }
    //-->
    </script>
    [/FONT]

    Has anyone else experienced this sort of thing?
    Thanks again
    Tim Huffam

  3. #923
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by scrap View Post
    First of all, thanks for this support thread!

    I've come to a halt in the installation process at step 4, from which I'm to lame proceed. I've put the googleanalytics-INSTALL.sql and googleanalytics-UNINSTALL.sql in /public_html root and all the other files in the right directories (admin, includes etc), but now I actually want to install it. The readme says


    When I go to Tools->Install SQL i see, in strong red, NOTE: Zen Cart database-upgrade scripts should NOT be run from this page.. I mean, isn't this exactly what we're doing?

    Anyhow, how do I proceed? Do I need to run a SQL query in the upper box?

    Heeeelp!
    NOTE: Zen Cart database-upgrade scripts
    It didn't say you could not run Modules queries. It just trying to warn you about updating the zen cart from there. Just copy and past the Simple Google Analytics sql code there nothing to worry about.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  4. #924
    Join Date
    Feb 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by noobuser View Post
    Hello,
    What I have done is that I added the analytics code in the header file - i know this is not the best way to do - but it works. I don't know what the implication would be though.
    Hi,

    I believe the issue is when Google will be called. If the code is put in the footer, the calls are made after your page has already loaded which means the visitor won't notice it.

    If it is put in the header, the calls will be made first. So if the Google servers are slow, it will delay your page loading.

  5. #925
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by artycles View Post
    OK patience is rewarded thanks for the reminder about the time thing. that final tweak must have done the trick it's finally got a tick in the box not an exclamation mark. Now I only need to wait for the figures to come in.
    Can you please tell me what you did to "tweek" your site.

    I too have an exclamation mark, and can't get it to recieve. I think I've set everuthing ok in the analytics site, I haven't however set up Goals, all these are still set to Off. Is this a problem??

    I'll wait for the prorietory 24 hours and see what occurs.
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  6. #926
    Join Date
    Mar 2009
    Posts
    102
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Jeasus I'm getting tired of this! Thanks btw for helping out with the "install" instructions of the code, much appreciated!

    Anyhow, the code doesn't show up in my shop. I've read post #888 (and several more). I've narrowed it down, i.e. I know i'm working in the correct file (my_template/custom/tpl_main_page.php), but I can't get it to work anyway. To be, as far as I know, 100% sure I added two comments, namely <!-- A --> and <!-- B --> respectively.

    1. my_template/custom/tpl_main_page.php
    Code:
    <!--eof- banner #6 display -->
    <!-- A -->
    </body>
    <!-- B -->
    --> source code

    Code:
    <!--eof- banner #6 display --><!-- A --></body><!-- B --></html>
    2. my_template/custom/tpl_main_page.php
    Code:
    <!--eof- banner #6 display -->
    <!-- A -->
    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    </body>
    <!-- B -->
    --> source code

    Code:
    <!--eof- banner #6 display --><!-- A -->
    Can someone pleeeease tell me what i'm doing wrong? Since I'm seeing <!-- A --> I have to be editing in the correct file, right?

    I'm running 1.3.x and the $zv_onload is there. I'm still able to access the settings via Admin --> Configuration --> Google Analytics. I do not type the code, I copy paste it from the readme.

  7. #927
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by scrap View Post
    Jeasus I'm getting tired of this! Thanks btw for helping out with the "install" instructions of the code, much appreciated!

    Anyhow, the code doesn't show up in my shop. I've read post #888 (and several more). I've narrowed it down, i.e. I know i'm working in the correct file (my_template/custom/tpl_main_page.php), but I can't get it to work anyway. To be, as far as I know, 100% sure I added two comments, namely <!-- A --> and <!-- B --> respectively.

    1. my_template/custom/tpl_main_page.php
    Code:
    <!--eof- banner #6 display -->
    <!-- A -->
    </body>
    <!-- B -->
    --> source code

    Code:
    <!--eof- banner #6 display --><!-- A --></body><!-- B --></html>
    2. my_template/custom/tpl_main_page.php
    Code:
    <!--eof- banner #6 display -->
    <!-- A -->
    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    </body>
    <!-- B -->
    --> source code

    Code:
    <!--eof- banner #6 display --><!-- A -->
    Can someone pleeeease tell me what i'm doing wrong? Since I'm seeing <!-- A --> I have to be editing in the correct file, right?

    I'm running 1.3.x and the $zv_onload is there. I'm still able to access the settings via Admin --> Configuration --> Google Analytics. I do not type the code, I copy paste it from the readme.
    A link to your store would help.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  8. #928
    Join Date
    Mar 2009
    Posts
    102
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by countrycharm View Post
    A link to your store would help.
    Thanks, but no need, it kind of resolved itself

    For other viewers: i honestly can't tell what was wrong. I had disabled the footer by uncommenting * $flag_disable_footer = true; <br /> * in tpl_footer.php; result: */ $flag_disable_footer = true; <br /> /*. I un-uncommented (uhm, made it a comment again ) the line and tried again, but placed the slashes differently; result: */ $flag_disable_footer = true;/* <br />. Woilá, it worked. Don't ask me how, but it did.

    My current source code:
    Code:
    <!--eof- banner #6 display -->
    <!-- A -->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-xxxxxxx-1");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script></body>
    <!-- B --></html>

  9. #929
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by scrap View Post
    Thanks, but no need, it kind of resolved itself

    For other viewers: i honestly can't tell what was wrong. I had disabled the footer by uncommenting * $flag_disable_footer = true; <br /> * in tpl_footer.php; result: */ $flag_disable_footer = true; <br /> /*. I un-uncommented (uhm, made it a comment again ) the line and tried again, but placed the slashes differently; result: */ $flag_disable_footer = true;/* <br />. Woilá, it worked. Don't ask me how, but it did.

    My current source code:
    Code:
    <!--eof- banner #6 display -->
    <!-- A -->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-xxxxxxx-1");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script></body>
    <!-- B --></html>
    Glade you work it out.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  10. #930
    Join Date
    Dec 2008
    Location
    USA
    Posts
    64
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I have SGA installed and was working fine for some time. Now it is not working - i.e., my stats show '0' all the time.

    http:// www. salevalley .com

    Can someone familiar with this module help me how to go about it.

    Thanks

 

 

Similar Threads

  1. v150 Simple Google Analytics .sql error !
    By Miff in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Feb 2012, 11:33 PM
  2. Simple Google Analytics-not working
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Nov 2010, 06:07 PM
  3. Simple (From Google) Analytics Install
    By DagLindt in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 May 2009, 10:46 PM
  4. Simple google analytics- help
    By Pet Herbal Remedies in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 1 Oct 2008, 10:37 PM
  5. Simple Google Analytics not working
    By jvanree in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 May 2008, 03:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR