Blocking IPs from certain countries based on GA Bounce Rates

7 replies
Hi,

Based on Google Analytics for a year, I've seen traffic bounced 100% from certain countries.

These countries are mainly developing ones and non-English or ones with low population and non-English but filthy rich.

At the same time, there are some countries having traffic with average visit duration of less than 5 seconds.

It may not be wrong to say that there are no value from these 2 groups of traffic at all.

Therefore, I thought of blocking their country-specific IPs from my upcoming free and paid products.

The main intention to block their IPs is to save bandwidth, which is costly.

My assumption is they are seeking for freebie downloads only, thus are not good prospect for paid offers. My products would have no value for them anyway, since they are not in the visitors' local languages. Or my products are not what they are looking for.

Please share your thoughts about this.
#based #blocking #bounce #countries #ips #rates
  • Profile picture of the author alamest
    Yes you are right, you need to block the IP but you need to see for 1 week what is the result, if you have seen it for months than I recommend to block this IP and concentrate on that IP who is giving response.. I hope this helps..
    {{ DiscussionBoard.errors[6287617].message }}
    • Profile picture of the author azmanar
      Hi,

      I'll be using Cloudflare and htaccess to block country-specific IPs.

      Furthermore, visitors from some countries are trying to access non-existent files. This is a tell-tale sign of initial hacking attempt.

      Any thoughts?
      Signature
      === >>> Tomorrow Should Be Better Than Today

      {{ DiscussionBoard.errors[6289169].message }}
      • Profile picture of the author damoncloudflare
        Originally Posted by azmanar View Post

        Hi,

        I'll be using Cloudflare and htaccess to block country-specific IPs.

        Furthermore, visitors from some countries are trying to access non-existent files. This is a tell-tale sign of initial hacking attempt.

        Any thoughts?
        Just wanted to mention that CloudFlare's country block option in threat control would only challenge (captcha page) those visitors for now (working on allowing for a full block). If you fully want to block those visitors, then .htacess is your best option for now. But our block will most certainly help stop bots....
        Signature
        {{ DiscussionBoard.errors[6292751].message }}
        • Profile picture of the author azmanar
          Hi Damon,

          Thanks. Blocking bots will certainly help.

          Instead of listing hundreds of IP addresses, can I utilize Cloudflare's variable ,i.e. CF-IPCountry into my htaccess like below :

          SetEnvIf CF-IPCountry CN GoAway=1
          SetEnvIf CF-IPCountry RU GoAway=1
          SetEnvIf CF-IPCountry NG GoAway=1
          SetEnvIf CF-IPCountry EG GoAway=1
          Order allow,deny
          Allow from all
          Deny from env=GoAway
          Signature
          === >>> Tomorrow Should Be Better Than Today

          {{ DiscussionBoard.errors[6293507].message }}
          • Profile picture of the author Matthew Iannotti
            Originally Posted by azmanar View Post

            Hi Damon,

            Thanks. Blocking bots will certainly help.

            Instead of listing hundreds of IP addresses, can I utilize Cloudflare's variable ,i.e. CF-IPCountry into my htaccess like below :

            SetEnvIf CF-IPCountry CN GoAway=1
            SetEnvIf CF-IPCountry RU GoAway=1
            SetEnvIf CF-IPCountry NG GoAway=1
            SetEnvIf CF-IPCountry EG GoAway=1
            Order allow,deny
            Allow from all
            Deny from env=GoAway


            I like your style! This is a good idea.
            {{ DiscussionBoard.errors[6293538].message }}
          • Profile picture of the author damoncloudflare
            Originally Posted by azmanar View Post

            Hi Damon,

            Thanks. Blocking bots will certainly help.

            Instead of listing hundreds of IP addresses, can I utilize Cloudflare's variable ,i.e. CF-IPCountry into my htaccess like below :

            SetEnvIf CF-IPCountry CN GoAway=1
            SetEnvIf CF-IPCountry RU GoAway=1
            SetEnvIf CF-IPCountry NG GoAway=1
            SetEnvIf CF-IPCountry EG GoAway=1
            Order allow,deny
            Allow from all
            Deny from env=GoAway
            According to our.htacess wizard, yes.
            Signature
            {{ DiscussionBoard.errors[6299912].message }}
  • Profile picture of the author kindsvater
    There are some countries where virtually all of your traffic may be scraper bots. That is why there is such a short time on-site before the bounce.

    Being able to ban by country, instead of playing whack-a-mole by banning by IP, is a great feature.

    .
    {{ DiscussionBoard.errors[6293587].message }}

Trending Topics