Page 24 of 217 FirstFirst ... 1422232425263474124 ... LastLast
Results 231 to 240 of 2161
  1. #231
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Please clarify

    Quote Originally Posted by studeo View Post
    I just read 23 pages of posts. I had installed this mod a couple of months ago.

    My question:

    I want to have ecommerce tracking. Do I add to the bottom of the checkout_success page any of the code provided by google? If so, what?

    And the fields in the google code such as [state] etc........are they dynamic? Do I have to customize them?

    Do I need to add anything on the checkout page at all?

    Thanks much
    If you have installed the "Simple Google Analytics" module from the downloads section here, then you do not have to do anything in order to get E-Commerce tracking installed FROM A CODE PERSPECTIVE. It is already included in the code for the mod.

    HOWEVER, you DO need to login to your Google Analytics account and let it know that your site is an "E-Commerce site" or tracking will not work. You do this by checking the radio button that says "E-Commerce Website" from the "Edit" section of your main website profile.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  2. #232
    Join Date
    Jan 2007
    Posts
    236
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Thanks.

    I had my first 3 sales last week but they didnt register...thats why I asked. might there be a conflict with authorize.net processing that you know of?

    I have ecommerce site checked off from the beginning.

    Thanks again

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

    Default Re: Simple Google Analytics - Support

    There shouldn't be any conflict with Authorize.net at all. Providing you have the tracking code in place properly, it should all register just fine.

    I use Authnet on the vast majority of sites I work with (Zen related) and they all record Google Analytics (including E-Commerce Tracking) just fine.

    Maybe run a test transaction yourself to see if it records a sale. If you go through the process yourself you may be able to find out if there is a glitch in the process.

    You would also be able to do a view source after you complete your transaction (on the thank you page) and be able to find out if the E-Commerce tracking is present and filled with data).
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  4. #234
    Join Date
    Jan 2007
    Posts
    236
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Thanks Eric...that was a good idea.

    I did run a test sale and the info is written in the google analytics source code when I viewed it.

    What has been your experience in the amount of time it takes google to register the info on the analytics account?

    Thanks

  5. #235
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I am still not able to get Google to say anything but "tracking status unknown: The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website."

    I set the setting to YES it is an ecommerce site on my Googly Analytics profile.
    I'm pretty sure I have the codes in the correct spots.

    The only thing I was unclear about is whether I am supposed to put the codes from the mod AND Google's code into the common/tpl
    _main_page.

    When viewing the source the code DOES show up on my main page.
    Last edited by khopek; 24 Jul 2007 at 08:42 PM.

  6. #236
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    OK finally working!
    After reading through pages of this thread.....

    1. DO NOT put in the code Google Analytics provides...
    2.Replaced the code the mod provided with this one provided by DrByte...

    <?php
    if (file_exists($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'))
    {
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    }
    ?>
    and voila!
    we're up and running!

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

    Default Re: Simple Google Analytics - Support

    khopek,

    What version of the mod are you using? You shouldn't have to alter any code at all for the version available in the downloads section of the Zen Cart website? All you need to know is your Google Analytics ID number.

    Plug that into the configuration section in the admin, and you're up and running?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  8. #238

    Default Re: Simple Google Analytics - Support

    I recently installed the google analytics and now I noticed the following error message after completing a purchase:

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\store\index.php on line 60

    The line it refers to is in bold below:

    /**
    * Read the "on_load" scripts for the individual page, and from the site-wide template settings
    * NOTE: on_load_*.js files must contain just the raw code to be inserted in the <body> tag in the on_load="" parameter.
    * Looking in "/includes/modules/pages" for files named "on_load_*.js"
    */
    $directory_array = $template->get_template_part(DIR_WS_MODULES . 'pages/' . $current_page_base, '/^on_load_/', '.js');
    foreach ($directory_array as $value) {
    $onload_file = DIR_WS_MODULES . 'pages/' . $current_page_base . '/' . $value;
    $read_contents='';
    $lines = @file($onload_file);
    foreach($lines as $line) {
    $read_contents .= $line;
    }
    $za_onload_array[] = $read_contents;
    }


    Any help would be appreciated

    Mike
    www.twowheeltannery.com

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

    Default Re: Simple Google Analytics - Support

    Did you change anything else in your cart?

    If it had to do specifically with the Google Analytics module, I would think it would appear on ANY page the analytics is on.

    Did you alter the code on the checkout success page at all?

    One area you may want to check is to make sure you have the "on_load" event in the proper directory on the server for Google Analytics.

    It should have come with a javascript file that gets uploaded to the /includes/modules/pages/checkout_success directory.

    Did you upload that file as well?
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  10. #240
    Join Date
    Jan 2007
    Posts
    236
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Google still not tracking my sales....

    Could there be an issue switching to an ssl page where google loses track...im sure you have ssl and yours is working right?

    I dont know.

    I found his on their help site:

    If your website initiates a purchase checkout process on a separate store site
    (for example, if you send customers from www.mystore.com to www.securecart.com):
    1. Add the following lines (in bold) to your tracking code on both your store site and your shopping cart pages: [FONT=Courier New, Courier, mono]<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">[/FONT]
    1. [FONT=Courier New, Courier, mono]</script>[/FONT]
      [FONT=Courier New, Courier, mono]<script type="text/javascript">[/FONT]
      [FONT=Courier New, Courier, mono]_uacct="UA-xxxx-x";[/FONT]
      [FONT=Courier New, Courier, mono]_udn="none";[/FONT]
      [FONT=Courier New, Courier, mono]_ulink=1;[/FONT]

      [FONT=Courier New, Courier, mono]urchinTracker();[/FONT]
      [FONT=Courier New, Courier, mono]</script>[/FONT]
    <B>
    1. Change the links from the main site to the secure site to use [FONT=Courier New, Courier, mono]__utmLinker[/FONT] as follows. If your current links look like: [FONT=Courier New, Courier, mono]<a href="https://www.securecart.com/?store=parameters">Purchase Now</a>[/FONT]

    change them to:
    </B>

    [FONT=Courier New, Courier, mono]<script type="text/javascript">[/FONT]

    [FONT=Courier New, Courier, mono]document.write('<a href="javascript:__utmLinker(\'https://www.securecart.com/?store=parameters\');">Purchase Now</a>');[/FONT]

    [FONT=Courier New, Courier, mono]</script>[/FONT]

    [FONT=Courier New, Courier, mono]<noscript>[/FONT]

    [FONT=Courier New, Courier, mono]<a href="https://www.securecart.com/?store=parameters">Purchase Now</a>[/FONT]

    [FONT=Courier New, Courier, mono]</noscript>[/FONT]

    The code above provides links for users with or without JavaScript enabled. It's important to note that apostrophes need to be escaped with a backslash where they appear in the link or link text.

    Important: if your pages include a call to urchinTracker(), utmLinker(), utmSetTrans(), or utmLinkPost(), your Analytics tracking code must be placed in your HTML code above any of these calls. In these cases the tracking code can be placed anywhere between the opening [FONT=Courier New, Courier, mono]<body>[/FONT] tag and the JavaScript call.
    anything here apply?

 

 

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