Page 1 of 68 1231151 ... LastLast
Results 1 to 10 of 672
  1. #1
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Google Analytics Integration

    Google Analytics Integration
    Very easy install, without changed of any files, admin control.

    Description
    ===========
    This module allow you to integrade the advanced e-commerce Analysis provided by the Google service named Google Analytics as described here:
    http://www.google.com/analytics/

    Affected files
    ==============
    Changed files
    -------------
    None
    New files
    ---------
    /includes/modules/pages/checkout_success/jscript_google_analytics.php
    /includes/modules/pages/checkout_success/on_load_google_analytics.js
    /includes/templates/YOURTEMPLATE/jscript/jscript_google_analytics.php

    Install:
    ========
    0. BACKUP! BACKUP! BACKUP! BACKUP! BACKUP! BACKUP!
    1. Unzip and upload all files to your store directory (change YOURTEMPLATE to your template directory);
    2. Go to Admin->Tools->Install SQL Patches and install googlefroogle.sql;
    3. Go to admin>tools>Google Analytics and setting up your Google Analytics configuration;
    4. Go to your Google Analytics Settings -> Edit Settings -> Edit Main Website Profile -> E-Commerce Website : Yes


    Download

    The comments and wishes are welcomed.

  2. #2
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Google Analytics Integration

    Quote Originally Posted by a_berezin
    Google Analytics Integration2. Go to Admin->Tools->Install SQL Patches and install googlefroogle.sql;
    Hmmm, did you MEAN googlefroogle.sql, or googleanalytics.sql ?
    3. Go to admin>tools>Google Analytics and setting up your Google Analytics configuration;
    This is actually in admin>configuration>Google Analytics
    The comments and wishes are welcomed.
    Looking good, but the problem I have is that the top of each page now has
    Code:
    _analytics_url = "https://ssl.google-analytics.com/urchin.js"; } echo ' '; ?>

  3. #3
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    Quote Originally Posted by a_berezin
    Observe many errors when attempting to dowload this mod from
    http://zen-cart.spb.ru/freedownload....eAnalytics.zip

    including

    Code:
    array(11) { ["customers_host_address"]=>  string(14) "67.189.123.212" ["cartID"]=>  string(0) "" ["cart"]=>  object(shoppingcart)(8) { ["observers"]=>  array(0) { } ["contents"]=>  array(0) { } ["total"]=>  int(0) ["weight"]=>  int(0) ["content_type"]=>  bool(false) ["free_shipping_item"]=>  int(0) ["free_shipping_weight"]=>  int(0) ["free_shipping_price"]=>  int(0) } ["navigation"]=>  &object(navigationhistory)(3) { ["observers"]=>  array(0) { } ["path"]=>  array(1) { [0]=>  array(4) { ["page"]=>  string(5) "index" ["mode"]=>  string(6) "NONSSL" ["get"]=>  array(1) { ["file"]=>  string(35) "zc-contribution/GoogleAnalytics.zip" } ["post"]=>  array(0) { } } } ["snapshot"]=>  array(0) { } } ["check_valid"]=>  string(4) "true" ["language"]=>  string(7) "english" ["languages_id"]=>  string(1) "1" ["languages_code"]=>  string(2) "en" ["currency"]=>  string(3) "USD" ["session_counter"]=>  bool(true) ["customers_ip_address"]=>  string(14) "67.189.123.212" }
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/ecoserv/domains/zen-cart.spb.ru/public_html/freedownload.php:13) in /home/ecoserv/domains/zen-cart.spb.ru/public_html/freedownload.php on line 51

  4. #4
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Google Analytics Integration

    Quote Originally Posted by Woodymon
    Observe many errors when attempting to dowload this mod
    ..already got it covered yesterday :)

    Right-click and save link as is your friend :)

    However, I'm having probs with the actual mods, as you can see, so you might want to hold up a day or two...

  5. #5
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    Quote Originally Posted by kelvyn
    You have it covered but I don't get it. ;)

    Quote Originally Posted by kelvyn
    Right-click and save link as is your friend :)
    When I right click and choose save as I get a file named "freedownload.php". What am I suppose to do with that? I'm using Firefox.

    Quote Originally Posted by kelvyn
    However, I'm having probs with the actual mods, as you can see, so you might want to hold up a day or two...
    I get your message but me think the idea that one person having an issue with a new mod should not dissuade others from downloading. Me think the more testers the merrier.

  6. #6
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    Quote Originally Posted by Woodymon
    When I right click and choose save as I get a file named "freedownload.php". What am I suppose to do with that?
    ANSWER: Rename freedownload.php to "whatever.zip".

  7. #7
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    BTW I'm still not convinced that allowing a third party to have such detailed access to private statistical information is the best idea. But if you trust Google to host your email and chat services and track your personal search activities, then entrusting the same third party to host your shop stats analysis program is not much of a leap, is it?

  8. #8
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: Google Analytics Integration

    Quote Originally Posted by kelvyn
    Hmmm, did you MEAN googlefroogle.sql, or googleanalytics.sql ?
    This is actually in admin>configuration>Google Analytics
    Certainly, you have understood me
    Quote Originally Posted by kelvyn
    Looking good, but the problem I have is that the top of each page now has
    Code:
    _analytics_url = "https://ssl.google-analytics.com/urchin.js"; } echo ' '; ?>
    ???? May be you do somehing wrong? jscript_google_analytics.php very small and easy:

    PHP Code:
    <?php
    /**
     * jscript_google_analytics.php
     *
     * @package zen-cart statistic
     * @copyright Copyright 2005-2006 Andrew Berezin
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: jscript_google_analytics.php,v 1.0.0 18.08.2006 19:19 Andrew Berezin [email protected] $
     */
    if ($request_type == 'NONSSL') {
        
    $google_analytics_url "http://www.google-analytics.com/urchin.js";
    } else {
        
    $google_analytics_url "https://ssl.google-analytics.com/urchin.js";
    }
      echo 
    '<script src="' $google_analytics_url '" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "' 
    GOOGLE_ANALYTICS_UACCT '";
    urchinTracker();
    </script>'
    ;
    ?>
    Quote Originally Posted by Woodymon
    Observe many errors when attempting to dowload this mod from
    http://zen-cart.spb.ru/freedownload....eAnalytics.zip
    Debugging. Now it's ok.

  9. #9
    Join Date
    Apr 2004
    Location
    Berkshire, UK
    Posts
    1,482
    Plugin Contributions
    1

    Default Re: Google Analytics Integration

    Quote Originally Posted by a_berezin
    ???? May be you do somehing wrong? jscript_google_analytics.php very small and easy:
    OK, something really weird happened! It seems that when I had uploaded these files, they had APPENDED to the other files!

    And I had repeated the upload at the same time. However, this time, I used a newer version of filezilla, and it did not append. Never happened to me before!

    Sorry for accusing your mod of being at fault - in fact, I have great respect for your mods, as they use excellent over-ride functionality.

    Maybe you can turn your skills to a "mass edit" system? :)
    I would certainly pay a contribution!

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

    Default Re: Google Analytics Integration

    Does this mod include the google code at the top of the page? From what I can see it does. So if google analytics goes down will your site load? Is this not why google suggests to add the code just before the </body> tag?
    ---------------------------------
    Barracuda Productions pure instincts

 

 
Page 1 of 68 1231151 ... LastLast

Similar Threads

  1. Google Analytics: Site Search Integration
    By saitomedia in forum General Questions
    Replies: 1
    Last Post: 29 Jul 2010, 08:08 AM
  2. google analytics integration
    By amnon_d in forum General Questions
    Replies: 3
    Last Post: 14 Jul 2009, 12:04 PM

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