Page 1 of 2 12 LastLast
Results 1 to 10 of 2161

Hybrid View

  1. #1
    Join Date
    Jul 2006
    Posts
    129
    Plugin Contributions
    1

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by bettysue View Post
    Hi,

    Yes I did put the account number in admin. The only thing I didn't put anything in was the affiliate entry as I didn't know what it was for.

    http://www.buysoul.com

    thank you,

    betty
    When I go and view the source of your home page I get this code at the bottom:
    Code:
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-XXXXXX-X";
    urchinTracker();
    </script>
    The XXXX are there so that indicates to me that your database does not have the account number in it. Also make sure just before the </body> tag in your home page template because you may have just the code above there and that could be your problem:

    PHP Code:
    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE$current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    Last edited by cuda; 29 Jan 2007 at 07:19 PM.
    ---------------------------------
    Barracuda Productions pure instincts

  2. #2
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by cuda View Post
    The XXXX are there so that indicates to me that your database does not have the account number in it. Also make sure just before the </body> tag in your home page template because you may have just the code above there and that could be your problem:

    PHP Code:
    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE$current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    The UH number is in the config in admin, I didn't see in the instructions that I had to enter it elsewhere.

    Plus I did enter the code just before the end body tag.
    The last few lines of my templates/custom/common/tpl_main_page.php are:
    Code:
    <!--eof- banner #6 display -->
    
    </div>
    <?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    </body>
    I also made sure that my body statement had the $zv_onload statement in it.
    Code:
    ?>
    <body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
    <?php
    What did I miss?

    betty

  3. #3
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I just went back to Google Analytics and it says "Receiving Data" so it must be finding it now?

    I don't know what the message below it means, there is a yellow explamation mark and says "Conversion Goals (0)" .

    thank you,

    betty

  4. #4
    Join Date
    Sep 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hey Betty, you need to setup goals in Google's control panel, edit the settings of your website profile and complete the Conversion goals and funnel section.

  5. #5
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I have been trying to track down this error that came up tonight when I was doing an order to see if everything worked ok (please note the double // in path):

    Code:
    <!--bof- parse time display -->
    <!--eof- parse time display -->
    <!--bof- banner #6 display -->
    <!--eof- banner #6 display -->
    
    </div>
    <br />
    <b>Warning</b>:  main(includes/templates/custom/checkout_success//google_analytics.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/path/removed/public_html/store/includes/templates/custom/common/tpl_main_page.php</b> on line <b>184</b><br />
    <br />
    <b>Warning</b>:  main(includes/templates/custom/checkout_success//google_analytics.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in <b>/path/removed/public_html/store/includes/templates/custom/common/tpl_main_page.php</b> on line <b>184</b><br />
    <br />
    <b>Fatal error</b>:  main() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/templates/custom/checkout_success//google_analytics.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in <b>/path/removed/public_html/store/includes/templates/custom/common/tpl_main_page.php</b> on line <b>184</b><br />
    betty

  6. #6
    Join Date
    Jan 2007
    Posts
    22
    Plugin Contributions
    0

    help question Re: Simple Google Analytics - Support

    Hi,

    I've installed Simple Google Analytics, and wanted to ask a quick question about a possible modification. My store is on a subdomain of my main site. Google says that in order to track subdomains in the same profile as the main domain, a line of code needs to be added to the normal Analytics call.

    The line that needs to be added is the one in bold. (This is the code as copied right off Google's help page)

    Code:
    <script>
      _uacct="UA-xxxx-x";
      _udn="mystore.com";
      urchinTracker();
    </script>
    So, do I just add this line to the google_analytics.php file like so:

    Code:
    <script type="text/javascript">
    _uacct = "' . GOOGLE_ANALYTICS_UACCT . '";
    _udn="mystore.com";
    urchinTracker();
    </script>';
    (with my domain in place of mystore.com)

    Should that work? Thanks!

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by peggyc View Post
    So, do I just add this line to the google_analytics.php file
    Yes, that's the right place to add it.

    What happens when you do ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Dr. Byte,

    Any idea why I'm getting the double // in my error message above? I checked the google analytics file and it just has one / in it.

    thank you,
    betty

  9. #9
    Join Date
    Sep 2006
    Posts
    91
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    [FONT=Arial]Hi,[/FONT]

    [FONT=Arial]Yenmax.com store opened on[/FONT][FONT=Arial]website since August 2007. I have a sitemape index file, which is registered at google and Yahoo. [/FONT][FONT=Arial]Google Analytics says my [/FONT][FONT=Arial]PageRank not yet assigned. [/FONT][FONT=Arial]How long I have to wait to see my pageRank? Any idea? Please let my know.[/FONT]
    [FONT=Times New Roman][/FONT]

  10. #10
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by yenmax View Post
    [FONT=Arial]Hi,[/FONT]

    [FONT=Arial]Yenmax.com store opened on[/FONT][FONT=Arial]website since August 2007. I have a sitemape index file, which is registered at google and Yahoo. [/FONT][FONT=Arial]Google Analytics says my [/FONT][FONT=Arial]PageRank not yet assigned. [/FONT][FONT=Arial]How long I have to wait to see my pageRank? Any idea? Please let my know.[/FONT]
    That is a question for another forum / thread. PageRank has nothing to do with Google Analytics itself.

    A general answer though of what page rank is a measure of can be found here:

    http://www.zencartoptimization.com/2...orgot-the-www/

    In short, you need incoming links to increase your page rank.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 
Page 1 of 2 12 LastLast

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

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