Hi
i want to block incoming countries by GEO.
Smart CJ Count all incoming traffic and i want to block some countries by raw income.
I have test with htaaccess file in the include.php folder but was not working.
So only tier1 rest not counted by income.
possible?
thanks a lot
SmartCJ Incoming Traffic GEO Block
Re: SmartCJ Incoming Traffic GEO Block
Hi!
what do you mean saying "blocking" ?
do you want to redirect those visitors from those countries to another location?
what do you mean saying "blocking" ?
do you want to redirect those visitors from those countries to another location?
Don't forget to run script update
Re: SmartCJ Incoming Traffic GEO Block
SmartCJ Shows every Income from every country at the trade.
I want that the trade script only track the income traffic for example from: DE, US, GB, IT, AT and some others from Tier1.
NOT the income from for example China, Bangladesh and those (Tier 2&3).
For Example:
Site 1 get traffic: 10 unique from Germany, 10 from USA, 10 from China and 10 from Bangladesh.
I want that the trade only shows the 20 from USA & Germany not the Bad Tier 2&3 Traffic China & Bangladesh.
Thanks
I want that the trade script only track the income traffic for example from: DE, US, GB, IT, AT and some others from Tier1.
NOT the income from for example China, Bangladesh and those (Tier 2&3).
For Example:
Site 1 get traffic: 10 unique from Germany, 10 from USA, 10 from China and 10 from Bangladesh.
I want that the trade only shows the 20 from USA & Germany not the Bad Tier 2&3 Traffic China & Bangladesh.
Thanks
Re: SmartCJ Incoming Traffic GEO Block
yes, you can add into common.php
if ($_SERVER['GEOIP_COUNTRY_CODE'] == 'CN') {
$_GET['dont_count'] = true;
}
if ($_SERVER['GEOIP_COUNTRY_CODE'] == 'CN') {
$_GET['dont_count'] = true;
}
Don't forget to run script update
Re: SmartCJ Incoming Traffic GEO Block
Thanks so much! i will test it! Awesome...
Re: SmartCJ Incoming Traffic GEO Block
hmmm it is not working. CJ is still tracking all countries.
An Idear what can be wrong ?
thanks a lot
An Idear what can be wrong ?
thanks a lot
Re: SmartCJ Incoming Traffic GEO Block
sorry, should be
dont_count_in_trade
dont_count_in_trade
Don't forget to run script update
Re: SmartCJ Incoming Traffic GEO Block
Possible i have insert something wrong?
justpic.info/images4/b811/ScreenshotatJuni11183700.png
justpic.info/images4/b811/ScreenshotatJuni11183700.png
Re: SmartCJ Incoming Traffic GEO Block
you can not use commas like that in PHP
the best way for you is just to copy\paste this part of the code
the best way for you is just to copy\paste this part of the code
Don't forget to run script update