Page 138 of 217 FirstFirst ... 3888128136137138139140148188 ... LastLast
Results 1,371 to 1,380 of 2161
  1. #1371
    Join Date
    Oct 2007
    Location
    Stow on the Wold, in the Cotswolds - England
    Posts
    13
    Plugin Contributions
    0

    help question Re: Simple Google Analytics - Support

    Hi,
    Thanks for a great product.

    I have just installed the module on a new site (1.3.9h) and it all seems to be working fine but I thought I would try to use the "custom tracking" feature to tell me whether analytics were being generated from development, test or production shops.

    I put in the following code;

    _gaq.push(['_setCustomVar',
    1, // This custom var is set to slot #1. Required parameter.
    'shopLevel', // The name acts as a kind of category for the user activity. Required parameter.
    'Production', // This value of the custom variable. Required parameter.
    3 // Sets the scope to session-level. Optional parameter.
    ]);
    When I view source I can see what looks like correct code but when I look in Google Analytics under Visitors/Custom Variables it tells me there is "no data for this view".

    Am I misunderstanding something here (I always find Google's instructions a bit hard to follow).

    My new site is www.globalartprints.co.uk

    Hopefully I am just doing something silly and obvious.

    Thanks
    Mark
    [FONT="Verdana"]cotsweb.com[/FONT]

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by jill8026 View Post
    Hi Eric! Hope you are doing great...quick question..I just installed this mod and I can see the code during the checkout process and everything is set properly as far as I can tell in my Analytics account...but it is not capturing the sales?!?! I have read back a few pages and did not find anything that has helped so I figured I would check to see if you can see anything wrong?!?

    The site is http://outdoorplaytoys.com

    ....and as always...thanks.....
    Hi Jill! Long time no talk. :) Good to hear from you.

    Have you told Google (within your Google account) that your site is an ecommerce site? You need to do this in order for it to pick up the tracking (which is automatically in place with the mod.)

    You set this from within your "Account Profile" (click 'edit').

    Let me know if that helps.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by cotsweb View Post

    When I view source I can see what looks like correct code but when I look in Google Analytics under Visitors/Custom Variables it tells me there is "no data for this view".
    Hi Mark,

    Try adding the following code just after that event.

    _gaq.push(['_trackEvent',
    'Shopping', // category of activity
    'Item Removal', // Action
    ]);


    (of course you would alter it to fit your 'tracking needs').

    More info on this can be found here:

    http://code.google.com/apis/analytic...Variables.html

    Let me know if that helps.
    Last edited by econcepts; 2 Dec 2010 at 02:42 PM.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

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

    Default Re: Simple Google Analytics - Support

    @cotsweb,

    Mark, I have another idea here that should work if the last bit of info I sent doesn't.

    I made a quick change to the code to place the tracking in a different location (for custom variables).

    But again, try what I mention below first and let me know if it works before we go this route.

    Let me know. Thanks!
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  5. #1375
    Join Date
    Oct 2007
    Location
    Stow on the Wold, in the Cotswolds - England
    Posts
    13
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Thanks Eric,
    I have amended my code to the following;
    _gaq.push(['_setCustomVar',1,'shopLevel','Production',3]);
    _gaq.push(['_trackEvent','Shopping','Database Level',]);
    I will see what Google Analytics reports tomorrow and let you know the results.

    Thanks for your prompt reply.
    Mark
    [FONT="Verdana"]cotsweb.com[/FONT]

  6. #1376
    Join Date
    Nov 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Help!

    I have installed this fine on a test site. But when I installed to live site it went BLANK?

    Anyone had this before?

  7. #1377
    Join Date
    Nov 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Just to add more details to above post;

    The file causing the problem is;

    /includes/templates/[your_template]/common/html_header.php

    If i remove the code snippet added just before the </head> the site is visable again.

    Can other modules be causing a problem?
    That's the only difference between my test site & this live site.

  8. #1378
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hey Eric, it is definitely set up properly in Analytics ...... I am baffled!
    Jill || I Love Zen Cart Templates || 2 Dogs Design
    I Love To Help But Let's Keep It Public Please To Help Others!

  9. #1379
    Join Date
    Oct 2007
    Location
    Stow on the Wold, in the Cotswolds - England
    Posts
    13
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Hi Eric,
    The following sort of works;
    _gaq.push(['_setCustomVar',1,'shopLevel','Production',3]);
    _gaq.push(['_trackEvent','Shopping','Database Level',]);
    I can use CustomVar 1 in an advance segment but it shows the values as 'shopLevel' rather than 'Production' which is what I hoped for, still it is usable.

    But to save time I have decided just to create an advanced segment on Host Name which gives me a similar result but without messing with custom variables. Nice of you to include it in the module though, I may need it in the future.

    Regards
    Mark
    [FONT="Verdana"]cotsweb.com[/FONT]

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by yamadan View Post
    Just to add more details to above post;

    The file causing the problem is;

    /includes/templates/[your_template]/common/html_header.php

    If i remove the code snippet added just before the </head> the site is visable again.

    Can other modules be causing a problem?
    That's the only difference between my test site & this live site.
    A blank site means you have a PHP error somewhere. Make certain that the code is exact for that file from site to site.

    The best way to do this is to perform a "winmerge" comparison on the two files. This will show you where there are any differences between the two and likely lead you to your problem.

    The other thing you can do is to check your error log file (generated in the cache directory) for the root of the problem (on the live site.) As long as you have that turned on (by default in 1.3.9 + but needs to be added in 1.3.8 and under) you'll get the exact spot that the problem is occurring.

    Let me know if that helps.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 

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