Results 1 to 10 of 2161

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Posts
    14
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by econcepts View Post
    Yes, this install of iDev is basically the same as it is with JAM (same concept, same files altered.)

    You would still want to follow the same instructions as for JAM (of course removing the JAM portion and replacing with the iDev affiliate one).

    If you need help send me a private message and I'll take a look.

    Thanks!
    Hey Eric,

    Once again you are an amazing resource for the Zen Cart community, thank you. Before we give this another shot, I have one additional question.

    Do we need to include the entire contents of the 'tpl_footer.php' page on the 'tpl_main_page.php' page or just a snippet that is relevant to iDev?

    Thanks again,
    James

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

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by jamesmcl515 View Post
    Hey Eric,

    Once again you are an amazing resource for the Zen Cart community, thank you. Before we give this another shot, I have one additional question.

    Do we need to include the entire contents of the 'tpl_footer.php' page on the 'tpl_main_page.php' page or just a snippet that is relevant to iDev?

    Thanks again,
    James
    James,

    Thanks for the kind words. I love to help.

    To answer your question ...

    You do NOT want to include the entire contents of the tpl_footer.php file in the tpl_main_page.php

    You only want to include the bit that I have indicated in the instructions at that previous link (let me know if you need that again.)

    It would look something like this (at the bottom of your tpl_main_page.php).

    PHP Code:
    < ?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE$current_page_base,'google_analytics') . '/google_analytics.php');
    ?>
    < ?php
    if ($_GET['main_page']=="checkout_success") {

    ##########################################
    ## START iDevAffiliate INTEGRATION WITH ZEN CART ##
    ##########################################


    Insert your iDeve Affiliate code here taken from your tpl_footer.php page


    #######################################
    ## END iDevAffiliate INTEGRATION WITH ZEN CART ##
    #######################################

    } // end if for determining if this was the checkout_success page.?> 
    Let me know if that helps. Remember, once you do this and find it is working you will need to remove that "checkout_success" directory (the one under your custom template NOT the core one!) for the override to work.

    If you need me to fix it for you let me know and I can take a look (I'll PM you the details).
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  3. #3
    Join Date
    Sep 2008
    Location
    San Diego
    Posts
    159
    Plugin Contributions
    0

    Default Re: Simple Google Analytics - Support

    I am sure I followed your instructions, have installled a couple of times on my site at createadesign.net, but I still get:
    The Google Analytics tracking code has not been detected on your website's home page
    on the Google site, and i have an inverted yellow triangle under Status
    any suggestions or help would be greatly appcreciated
    Rufusclc

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

    Default Re: Simple Google Analytics - Support

    I went to your site and it looks like there is a problem near the bottom of the page (when I view source). The closing BODY and HTML tags are missing (which again leads me to to believe there is an issue with code near the bottom somewhere. Looks like the menu calls just stop after "Newsletter Unsubscribe" -- look around that area in your code for a possible error (maybe non-related to this mod?)

    Make sure you did Step 3 of the install (added the line of code that calls "google_analytics.php".

    Also make sure you add that line of code to the proper page. It looks like you are using a form of the Apple zen template. You will want to add the line of code in step 3 to the tpl_main_page.php in the same folder that your template is running from (like "apple").

    Finally, make sure you upload the "google_analytics" folder to your custom template directory as well (not the default one).

    Let me know if this helps.

    The only reason code won't show (tracking) with this mod is due to one of the three reasons above.
    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