Results 1 to 10 of 671

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: Google Analytics Integration

    Quote Originally Posted by anubis View Post
    I've disabled it until I get a response regarding the issues.

    Thanks for your reply Anubis. Hopefully it'll be something that's fixed soon. This contribution is almost a necessary one if you really wanna operate a business instead of just 'watching' the website.
    [FONT=Comic Sans MS]Zen Cart - The Yin & Yang of the eCo[/FONT][FONT=Comic Sans MS]mmerce Thang[/FONT]

    [FONT=Comic Sans MS]OmniProductSales.com

    [/FONT]
    [FONT=Comic Sans MS]
    [/FONT]

  2. #2
    Join Date
    Jan 2008
    Posts
    1
    Plugin Contributions
    0

    help question Re: Google Analytics Integration

    Huge thread, can't take it all in. As a new user of this add-on, is there an easy way to tell if it is working? Also, does it work with Ultimate SEO URLs?

    Thanks, and apologies if this has been asked and answered before - I couldn't find it.

  3. #3
    Join Date
    Feb 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Google Analytics Integration

    It appears there is a problem with the IE-specific javascript in this mod.

    Look for:
    Code:
            // for IE
            if(window.ActiveXObject) {
                    document.write("<script id=8d6b7cf147cf9 defer " +
                            "src=javascript:void(0)><\/script>");
    and replace with
    Code:
            // for IE
            if(window.ActiveXObject) {
                    document.write("<script id=8d6b7cf147cf9 defer " +
                            "src=:\/\/0><\/script>");
    I'm by no means a JS expert, so maybe someone else can comment on this possible fix. It at the very least eliminates the IE popup warnings, and doesn't affect how other browsers behave.

  4. #4
    Join Date
    Feb 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: Google Analytics Integration

    Call me an idiot, but can't I just put the analytics code in my footer.php ?

  5. #5
    Join Date
    Aug 2007
    Location
    Fort Worth, Texas, United States
    Posts
    177
    Plugin Contributions
    0

    Default Re: Google Analytics Integration

    Quote Originally Posted by timjbart View Post
    Call me an idiot, but can't I just put the analytics code in my footer.php ?
    You want me to call you an Idiot? ok.

    to answer your question, yes, you can just put it in the footer and be done with it. Just remember where you put it for future enhancements.

    What's nice about this mod is that you don't have to go into the code to make changes (well except for when it's not working... ). I'm a designer and create sites for customers using ZenCart. I would prefer my clients never go into the code because you just don't know what might go wrong. So, if I can have google analytics in admin, I'm happier. If for whatever reason they need to change google analytics account, they can make the changes without my assistance. Independence is a good thing for store owners who don't know enough code.

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

    Default Re: Google Analytics Integration

    Quote Originally Posted by tornadostore View Post
    It appears there is a problem with the IE-specific javascript in this mod.
    tornadostore, Thank you!

    Please, test last version v 2.1.2 21.02.2008 11:04

  7. #7
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    Hi Andrew,

    Great contribution here. :)

    Just noticed that two of the admin settings don't have titles. You'll notice that these have been left out in the following install SQL code.

    Code:
    (NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'true', '', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
    (NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 2, NOW(), NULL, NULL),
    Is this correct? Are they meant to be blank?

  8. #8
    Join Date
    Dec 2007
    Location
    Hoboken, NJ
    Posts
    96
    Plugin Contributions
    1

    Default Re: Google Analytics Integration

    Currently using the most recent version of Google Analytics Integration and Zen Cart 1.3.8a. I can't seem to get E-commerce tracking to work. I have enabled the option in Google Analytics and outside of the e-commerce tracking all other tracking seems fine. Any thing I should look for? I have the code for integration at the bottom of tpl_footer.php.


    Cal

  9. #9
    Join Date
    Jan 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: Google Analytics Integration

    Nevermind....
    Last edited by NFM; 18 Mar 2008 at 09:20 PM. Reason: Figured out the problem

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

    Default Re: Google Analytics Integration

    Hi Alex,
    Quote Originally Posted by Alex Clarke View Post
    Hi Andrew,

    Great contribution here. :)

    Just noticed that two of the admin settings don't have titles. You'll notice that these have been left out in the following install SQL code.

    Code:
    (NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'true', '', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
    (NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 2, NOW(), NULL, NULL),
    Is this correct? Are they meant to be blank?
    No, of course it is my error. I have to fix it in the next release. And now you can simply replace these lines by:
    Code:
    (NULL, 'Tracking Outbound', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'true', '', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'),
    (NULL, 'Tracking Outbound Links Prefix', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 2, NOW(), NULL, NULL),

 

 

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

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