Page 19 of 68 FirstFirst ... 9171819202129 ... LastLast
Results 181 to 190 of 672
  1. #181
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: Google Analytics Integration

    I've put this:
    <?php include($template->get_template_dir('tpl_footer_googleanalytics.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_googleanalytics.php'); ?>

    on includes/templates/my_template/common/tpl_footer.php
    after the last ?>
    I'm clear?

  2. #182
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Google Analytics Integration

    Quote Originally Posted by 100asa View Post
    I've put this:
    <?php include($template->get_template_dir('tpl_footer_googleanalytics.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer_googleanalytics.php'); ?>

    on includes/templates/my_template/common/tpl_footer.php
    after the last ?>
    I'm clear?
    I think thats where I put mine as well.. should be alright

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

    Default Re: Google Analytics Integration

    Hi getyourgameshere.com,
    Quote Originally Posted by getyourgameshere.com View Post
    on line 45.. try changing

    Code:
    number_format($products->fields['final_price'], 2, ',', '')
    to

    Code:
    number_format($products->fields['final_price'], 2, '.', ',')
    to

    Code:
    number_format($products->fields['final_price'], 3, '.', '')

  4. #184
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    Just downloaded/installed Andrew's latest version v.1.21 on Zen Cart 1.36. Installed "variant_javascript" version. EASY install!

    And after configuring everything (in Zen Cart admin > Configuration and also in Google Analytics account settings) I viewed the source of the shop home page and observed near the bottom:

    Code:
    <div style="position: absolute; top: -1000px; left: -1000px;"><span class="ygtvtn">&nbsp;</span><span class="ygtvtm">&nbsp;</span><span class="ygtvtmh">&nbsp;</span><span class="ygtvtp">&nbsp;</span><span class="ygtvtph">&nbsp;</span><span class="ygtvln">&nbsp;</span><span class="ygtvlm">&nbsp;</span><span class="ygtvlmh">&nbsp;</span><span class="ygtvlp">&nbsp;</span><span class="ygtvlph">&nbsp;</span><span class="ygtvloading">&nbsp;</span></div>
    
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
      _uacct = 'UA-XXXXXXX-1';
      urchinTracker();
    </script>
    </body>
    1. Does anyone have a clue what the source would be of all the strange span classes and non-breaking spaces would be from? Is this from the Google Analytics Integration mod?

    2. BTW it is easy to forget...

    In Admin > Configuration > Google Analytics Integration > Analytics Account

    Be sure to append a "-1" to the end of your account number (or whatever the number of the profile you set up in your GA account settings).

    3. Thanks for the update Andrew! New version is working well.

    Woody
    Last edited by Woodymon; 16 Dec 2006 at 11:54 AM.

  5. #185
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Google Analytics Integration

    Quote Originally Posted by a_berezin View Post
    Hi getyourgameshere.com,


    to

    Code:
    number_format($products->fields['final_price'], 3, '.', '')
    Ah.. I knew I had messed up somewhere. Thanks Andrew!

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

    Default Re: Google Analytics Integration

    And replace it on 2 lines!

  7. #187
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: Google Analytics Integration

    Quote Originally Posted by a_berezin View Post
    And replace it on 2 lines!
    For anyone else interested.. its lines 31 and 45

  8. #188
    Join Date
    Apr 2005
    Posts
    392
    Plugin Contributions
    0

    Default Re: Google Analytics Integration

    I've downloaded the mod., read the forum and readme file. I'm still rather confused as to its installation.
    Quote Originally Posted by Woodymon View Post
    Just downloaded/installed Andrew's latest version v.1.21 on Zen Cart 1.36. Installed "variant_javascript" version. EASY install!
    The quote above seems to indicate that only the files in variant_javascript folders are required. But the readme file states:
    1.1. ONLY FOR variant_include. Edit tpl_footer.php or tpl_main_page.php or any other that you want...
    So do I copy ALL the files in the following folders:
    includes/...
    variant_include/...
    variant_javascript/...

    (changing "YOUR_TEMPLATE" to my own template directory accordingly) or do I just copy the files in the includes/... folder?

    TIA

  9. #189
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    Quote Originally Posted by Stenrique View Post
    I've downloaded the mod., read the forum and readme file. I'm still rather confused as to its installation.
    There are two types of installs. Choose one or the other:

    1. variant_javascript install method:
    Easiest install (does not require a template file edit) but does not work for everyone. Try it first.

    UPLOAD:
    /includes/templates/YOUR_TEMPLATE/jscript/jscript_google_analytics.php
    /includes/templates/YOUR_TEMPLATE/jscript/on_load/on_load_google_analytics.js

    And PATCH the DB with the provided SQL

    - OR -

    2. variant_include install method:

    UPLOAD:
    /includes/templates/YOUR_TEMPLATE/common/tpl_footer_googleanalytics.php

    EDIT:
    tpl_footer.php or tpl_main_page.php or any other that you want.
    (for example: copy template_default/common/tpl_footer.php then edit with instructions in readme and save in YOUR_TEMPLATE/common directory).

    And PATCH the DB with the provided SQL

    -Woody

  10. #190
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Analytics Integration

    Quote Originally Posted by Woodymon View Post
    Code:
    <div style="position: absolute; top: -1000px; left: -1000px;"><span class="ygtvtn">&nbsp;</span><span class="ygtvtm">&nbsp;</span><span class="ygtvtmh">&nbsp;</span><span class="ygtvtp">&nbsp;</span><span class="ygtvtph">&nbsp;</span><span class="ygtvln">&nbsp;</span><span class="ygtvlm">&nbsp;</span><span class="ygtvlmh">&nbsp;</span><span class="ygtvlp">&nbsp;</span><span class="ygtvlph">&nbsp;</span><span class="ygtvloading">&nbsp;</span></div>
    1. Does anyone have a clue what the source would be of all the strange span classes and non-breaking spaces would be from?
    Update on my question.. Apparently it is the result of installing Yahoo Tree Menu (Categories) mod. Still unsure of code purpose but that is a question for the YTM support thread.

 

 
Page 19 of 68 FirstFirst ... 9171819202129 ... LastLast

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