Title: Exclude Google Storebot
Last modified: December 20, 2022

---

# Exclude Google Storebot

 *  Resolved [RLDD](https://wordpress.org/support/users/rermis/)
 * (@rermis)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/exclude-google-storebot/)
 * Hi, can you consider excluding Google Storebot carts from recovery emails? Depending
   on the number of products and shipping methods, the bots will fill numerous carts(
   40-50 on my site) at a time to validate rates and shipping against my Google 
   merchant account. These carts use the email domain @fakemail.com, and the emails
   always bounce. I get a notification from CartBounty that an email was sent, and
   then a second when the customer email bounces. Which means if there are 40 carts
   from the bots, I get 80 emails.
 * You could potentially also filter out Google bots by using ‘if(stripos(gethostbyaddr(
   $ip),’google’)!==false)’

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Nauriskolats](https://wordpress.org/support/users/nauriskolats/)
 * (@nauriskolats)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/exclude-google-storebot/#post-16305532)
 * Hi [@rermis](https://wordpress.org/support/users/rermis/), thanks for reaching
   out and bringing our attention to this!
 * We did a quick search and found an article outlining what seems to be what you
   are referring to: [https://www.searchenginejournal.com/googlebot-adding-products-shopping-carts/373595/](https://www.searchenginejournal.com/googlebot-adding-products-shopping-carts/373595/)
 * So If I understand it correctly – you are participating in Google Shopping program
   which allows you to list products from your store over at Google and in order
   to do that, google will time after time come over to your store to add items 
   to the cart and test the checkout?
 * Do you have some reference link or documentation to the line of code you added
   so we could dive deeper and look into it?
 * Thank you,
   Nauris
 *  Thread Starter [RLDD](https://wordpress.org/support/users/rermis/)
 * (@rermis)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/exclude-google-storebot/#post-16307124)
 * Hi [@nauriskolats](https://wordpress.org/support/users/nauriskolats/),
 * Thanks for looking into this. You are correct, the bots crawl the site and create
   carts as part of the Google Shopping program. The one consistent factor for all
   the carts email domain is @fakemail.com.
 * It would be nice to be able to skip recovery emails, and possibly even exclude
   the bot’s carts from the abandoned cart list. I think the easiest route could
   introduce a field in plugin settings where certain email domains can be excluded
   from recovery. That would be equally effective while leaving accuracy and adjustment
   up to the admin.
 * If you want to cut directly to the root issue, you could exclude from the recovery
   process based on IP host if google is returned from the function gethostbyaddr().
   However this leaves little control up to the admin and is probably not the best
   solution for a widely distributed plugin.
 *  Plugin Contributor [Nauriskolats](https://wordpress.org/support/users/nauriskolats/)
 * (@nauriskolats)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/exclude-google-storebot/#post-16307446)
 * Thank you for confirming. Since these are abandoned carts left by bots and for
   the most part you do not want to be seeing notifications about such abandoned
   carts, I guess the best option would be to simply ignore such carts from being
   saved and creating any stress on the database.
 * I have added this to our wish-list and will get back to you once this has been
   developed.
 * Thank you for your input! 🙂
 *  Plugin Contributor [Nauriskolats](https://wordpress.org/support/users/nauriskolats/)
 * (@nauriskolats)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/exclude-google-storebot/#post-16408901)
 * Hi [@rermis](https://wordpress.org/support/users/rermis/), just following up 
   and letting you know that we have added improved features to the already existing
   bot prevention features in our Pro version including ignoring Google Storebot
   from leaving abandoned carts.
 * Please feel free to reach us via our contact form to get a small gift for your
   help and idea! 🙂
 *  Thread Starter [RLDD](https://wordpress.org/support/users/rermis/)
 * (@rermis)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/exclude-google-storebot/#post-16409579)
 * Awesome, thank you so much!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Exclude Google Storebot’ is closed to new replies.

 * ![](https://ps.w.org/woo-save-abandoned-carts/assets/icon-256x256.gif?rev=2768009)
 * [CartBounty - Save and recover abandoned carts for WooCommerce](https://wordpress.org/plugins/woo-save-abandoned-carts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-save-abandoned-carts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-save-abandoned-carts/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-save-abandoned-carts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-save-abandoned-carts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-save-abandoned-carts/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [RLDD](https://wordpress.org/support/users/rermis/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/exclude-google-storebot/#post-16409579)
 * Status: resolved