Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2010
    Posts
    35
    Plugin Contributions
    0

    Default Installing Google analytics

    Hi all;
    I need to install a javascript to run Google Analytics, how do I do that in Zen Cart?

    Thank you for you input

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Installing Google analytics

    Search the free software addons link above left as this has already been done and packaged by one of the community
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: Installing Google analytics

    Thanks Kobra;
    I found the Add-On, now how do I install it?

    Regards
    and thanks again for your help

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Installing Google analytics

    I found the Add-On, now how do I install it?
    Read the instructions
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2010
    Posts
    35
    Plugin Contributions
    0

    Default Re: Installing Google analytics

    Good one Kobra;
    I did read the readme file and the install file but I didn't understand it. I need to print it and number the steps.

    Thanks again Kobra

  6. #6
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: Installing Google analytics

    Might be a good idea to check this first:)
    https://www.zen-cart.com/tutorials/i...hp?article=230

  7. #7
    Join Date
    Oct 2010
    Location
    Idaho
    Posts
    292
    Plugin Contributions
    0

    Default Re: Installing Google analytics

    I've installed Simple Google Analytics precisely according to install instructions. I've created my account at GA and set the account number in Admin Config GA, including the final number after the dash, similar to UA-1234567-8. Everything seems to be precisely correct on the home page source code (see below) that pulls through from the google_analytics.php file.

    So, on my GA account, the status says Tracking Not Installed (see screen shot). What have I not done correctly -- and if I have not done something that I should have done -- then why isn't such a step included in the install instructions? Thanks..

    (the code, on html_header and tpl_main_page, is installed correctly, resulting in this source code when Admin Config GA is not set to Asynchronous)

    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-1234567-8"); //actual account # is used in actual code //
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>
    </body></html>
    Attached Images Attached Images  

  8. #8
    Join Date
    Oct 2010
    Location
    Idaho
    Posts
    292
    Plugin Contributions
    0

    Default Re: Installing Google analytics

    well, isn't that convenient of Google.

    The tracking status was permanently stuck at Tracking Not Installed, until I went to Edit the site Profile and clicked on Check Status, and then, and ONLY then apparently, did Google Analytics actually go to my site to see if the code was installed. At that point, Waiting For Data displayed and it appeared the 'trip wire' had been triggered for the GA interface to actually test the site instead of just permanently displaying Tracking Not Installed as the status on the main page of the profile.

    So, this means my post above can be disregarded. Thank you.

 

 

Similar Threads

  1. admin white page when installing Google Analytics code
    By DArnaez in forum Basic Configuration
    Replies: 11
    Last Post: 25 Apr 2015, 12:41 AM
  2. v152 Help Installing Simple Google Analytics - can't find on_load_main.js
    By karine in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 5 Jan 2015, 08:33 AM
  3. Google analytics problem installing
    By sheila123 in forum All Other Contributions/Addons
    Replies: 12
    Last Post: 23 Aug 2010, 04:40 PM
  4. Trouble Installing Google Analytics Module
    By chemibase in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 8 Jun 2010, 04:28 PM
  5. Installing Google Analytics
    By andoverit in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Apr 2009, 06:12 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