Results 1 to 10 of 2161

Hybrid View

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by csimmons83 View Post
    I just realized that I forgot to place the google_analytics.php file in my template directory.

    I ran the install successfully on a test server and it went well so I guess I got sloppy

    After realizing my error I copied the google_analytics.php file to the correct spot in my template folder but the GA code is still not appearing in the source of my pages.

    Do I have to run the SQL command again now that the google_analytics.php file is in the correct place? If I do run it again will it cause any issues?

    I am running zencart 1.3.7.1 and this is a fresh install of Simple GA 1.2.3.

    Thanks in advance for your help.
    No, you do not have to rerun the SQL patch.

    If you don't see the tracking code still, then make sure you put the google_analytics.php file in the correct location.

    If you are running a custom template then that directory goes in the 'custom template folder' (NOT the default folder.)

    So if your template is called 'mycustomtemplate' then the directory would go into the following location:


    /includes/templates/mycustomtemplate/google_analytics (this is the directory you uploaded.)

    If you have no tracking code showing on your page at all, this is the reason it won't show (the code is likely uploaded to the wrong location.)
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  2. #2
    Join Date
    May 2007
    Posts
    471
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    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.....
    Jill || I Love Zen Cart Templates || 2 Dogs Design
    I Love To Help But Let's Keep It Public Please To Help Others!

  3. #3
    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]

  4. #4
    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

  5. #5
    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

  6. #6
    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]

  7. #7
    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?

  8. #8
    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]

  9. #9
    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

 

 

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