Again new spam traffic from priceg.com. I have been getting the referral traffic from priceg.com from today itself. By just looking at the referrer I doubt the url and did search for priceg.com and yes it’s a spam traffic. Priceg.com was redirecting to some website with kind of other language I didn’t understood. When I looked for priceg.com on Google it was before redirecting to aliexpress.com the same referral marketing here. Read below article for information on bad spam referral traffic.
What is bad referral traffic and avoid them
I have written all the articles to block and avoid the referral spam traffic. As previous darodar.com , economy.co and ilovevitaly.com were spamming many websites from all over the world this is a new domain may be from the same spammer from Russia.
Block these all with single PHP jaavscript code
Something I get know about these spam traffic
I have written to block ilovevitaly.com darodar.com and economy.co with PHP, javascript and .htaccess codes. But for some users that method was not working and so I have written to block them with analytics filters. Many are saying that the spammers are manipulating the analytics code to display these spam traffic because the link of darodar.com was containing user ids of their analytics code and yes its true, because when my website was down no one was able to open a page on my website but when I looked at my analytics there was a real time visitor referral was darodar.com. But I don’t know exactly with other domains so try to implement the physical javascript and PHP code also.
Now lets block priceg.com referral spam traffic
I’m going to show only 3 methods to block priceg.com spam as these will do the work.
1. Filter in analytics
Many users may have problem adding the code to their website so they can use this method to stop priceg.com from displaying in analytics properties. Read below article to use analytics filters to block priceg.com spam.
2. Javascript code
Add this code between head tag of your website. If any visit made from priceg.com then it will be redirected to google.com with this code.
var blocklink = ['http://priceg.com'];
for (var b = blocklink.length; b--;) {
if (document.referrer.match(blocklink[b]))
window.location = "http://google.com/";
}
3. PHP code
This is the same javascript code above but its added using the PHP. You need to add this code in your theme folder’s header.php file between head tag.
echo"
var blocklink = ['http://priceg.com'];
for (var b = blocklink.length; b--;) {
if (document.referrer.match(blocklink[b]))
window.location = "http://google.com/";
}
";
?>
If you want to use the .htaccess method which will block the visits from priceg.com referrer at server level then use below code and add it your .htaccess file.
SetEnvIfNoCase Referer priceg.com spamlink=yes
Order allow,deny
Allow from all
Deny from env=spamlink
Hope this will help you. Share and comment for any info.
11 Comments
anonymous
Many thanks for this article. I added it to analytics first as Excluded with No help. So I added this code and so far, so good. No more spamming yet. (cross my fingers).
again. Thank you.
himanshu
I want to use htaccess method.
But the last line is “END WORDPRESS”
Should i paste the code before it or after it?
Louis Jansen
I prefer using .htaccess as well since that is the very first item a request is done to your webserver/website. Have the same issues by the way with this domain 7makemoneyonline.com, buttons-for-website.com, ilovitaly.com, powerstresser.com and since yesterday also priceg.com.
I think I did see similarities in IP-ranges for these domains so I might consider blocking whole IP-rangen rather than blocking a new domain-name eacht 10 days.
urashita
I think these blocking code using domain would be endless.
We should take substantial solutions into consideration.
These spam domains ip address is 78.110.60.230.
One of the most effective solution is to remove this ip address from Google Analytics.
But I would like to know why this domain can make foot print in Google Analytics but not apache or nginx logs.
Ashish Prajapati
Hi
1. As I stated above when my website was completely down still I was getting hit from darodar referral I don’t know how is that possible because my hosting providers servers were completely down. Now that is for sure that spammers are doing something with the google analytics tracking code.
2. So when I was thinking the same thing like blocking the server IP from which all the referral visits are happening. Now the thing is the web browser returns some data which we can use to know that who is the referrer and so on. Thus it returns the site domain or its ip, but not the server IP from where the site/domains are hosted. So we can not block that server.
This is something I think but still trying to understand whole whats happening with this spam domains and traffic.
urashita
Hi,
This information is very useful.
I have two views in Google Analytics, filtering 78.110.60.230 and filtering no data.
Comparing two data, it seems that filtering 78.110.60.230 is working fine.
The spammers definitely know out Google Analytics codes, because of referer spam, xxx.darodar.com.
They are doing something special to make their foot prints.
I will report these information to https://www.google.com/webmasters/tools/spamreportform.
Louis Jansn
Am I missing something here? What is the added value of using filter in Googe Analytics. By filtering an IP out in Google Analytics the only thing that is changing is what you see, not what is actualy happening on your website and/or server.
A spaming domain referer would still be able to request and access files and will influence your website performance. By blocking a domain of IP-address/rang (i.e. in .htaccess) you make it impossible to reacht you files.
Or am I mis-interpreting the situation maybe?
Ashish Prajapati
Yes you are right. I have already talked about this in my previous article.
krity
Hey I have made all the required changes in my htaccess, still I am getting the traffic from priceg.com and forum.topic50818845.darodar.com. What to do next?
Rafa Labrador
Thanks for your post! I was searching exactly that information. I hope I can block priceg spammer.
albin thomas
this is what i was looking for.thanks