Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2008
    Location
    by Nuremberg Germany
    Posts
    51
    Plugin Contributions
    0

    Default Google Bot (Spyder) increases Products Viewed - what to do?

    There must be a way to stop the Google bot from increasing my Products viewed count. I am only interested in what "real" people are looking at, not what the Bot (Spyder) is scanning to index. Of course, I love the Bot indexing all my stuff, but how can we stop it from increasing the Products Viewed Count?

    Prevent Spider Sessions = true

    No session number shows when the Spyder is on the site, but is still counted as a "visitor" in the products viewed.

    Any ideas would be great.

  2. #2
    Join Date
    Apr 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Google Bot (Spyder) increases Products Viewed - what to do?

    even i face the same thing , plz any solutions appreciated

  3. #3
    Join Date
    Jan 2004
    Posts
    66,387
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Google Bot (Spyder) increases Products Viewed - what to do?

    You could try editing /includes/modules/pages/product_info/main_template_vars.php and change this:
    Code:
        $sql = "update " . TABLE_PRODUCTS_DESCRIPTION . "
                set        products_viewed = products_viewed+1
                where      products_id = '" . (int)$_GET['products_id'] . "'
                and        language_id = '" . (int)$_SESSION['languages_id'] . "'";
    
        $res = $db->Execute($sql);
    to this:
    Code:
    if ($spider_flag == false) {
        $sql = "update " . TABLE_PRODUCTS_DESCRIPTION . "
                set        products_viewed = products_viewed+1
                where      products_id = '" . (int)$_GET['products_id'] . "'
                and        language_id = '" . (int)$_SESSION['languages_id'] . "'";
    
        $res = $db->Execute($sql);
    }
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Feb 2008
    Location
    by Nuremberg Germany
    Posts
    51
    Plugin Contributions
    0

    Default Re: Google Bot (Spyder) increases Products Viewed - what to do?

    The fix worked!! Caught the bot and waited until it was looking at a particular item. When it got done I checked the Products Viewed and it wasn't there!

    Great idea, why didn't think of that? ha ha ha - You are the Code Guru, DrByte.

    Thanks a million!

  5. #5
    Join Date
    May 2008
    Posts
    7
    Plugin Contributions
    0

    customer issue Re: products viewed question

    I'd like to add on to your question. Are the 'products veiwed' counts including me? I haven't been able to find info on this and/or a how-to on filtering out my IP address so my reports aren't inflated....

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: products viewed question

    As far as I know the 'products viewed' counts are a cumulative total of every hit to the product including spiders and yourself.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Oct 2007
    Posts
    163
    Plugin Contributions
    0

    Default Is there anyway of configuring the Products Viewed report from not including my IP ad

    Is there anyway of configuring the Products Viewed report from not including my IP address in the figures?

    Saw same post in 2007 but no replies.

  8. #8
    Join Date
    Jul 2010
    Posts
    143
    Plugin Contributions
    0

    Default Does the 'Product viewed' report include the views by google robot?

    Does the 'Product viewed' report include the views by google robot?

    I mean this report,Admin-Reports-Product viewed


    I got hundreds of views of each products, but zero sales.

    So I think the views were made by robot, isn't it?

  9. #9
    Join Date
    Jul 2010
    Posts
    143
    Plugin Contributions
    0

    Default Re: Does the 'Product viewed' report include the views by google robot?

    Is there someone can help me?

    thank you!

  10. #10
    Join Date
    Apr 2012
    Location
    beijing
    Posts
    258
    Plugin Contributions
    1

    Default Re: Does the 'Product viewed' report include the views by google robot?

    yes,what you guess is right,including robot's visit
    focus on the open source for online shoping website.
    my site: best shop 24h.com

 

 

Similar Threads

  1. google.bot showing as guest instead of Spyder in Admin
    By bigbadbob in forum General Questions
    Replies: 23
    Last Post: 1 Jul 2008, 02:58 PM
  2. Reports Products viewed - What file to edit?
    By crosswraith in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Oct 2007, 04:07 PM

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