Get Rid of Referral Spam In Google Analytics - How to, Technology and PC Security Forum |

Get Rid of Referral Spam In Google Analytics

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

NameLsex(.)xyz Referral Spam
TypeReferral Spam
Short Description The page redirects users to third-party websites. The spam is able to quickly devaluate a website’s statistics.
SymptomsThe user may witness multiple redirects to other potentially harmful websites. The user can also see sudden statistics change in Google Analytics data.
Distribution MethodSpam Bots, Redirects, Referrals
Detection ToolDownload Malware Removal Tool, to See If Your System Has Been Affected by Lsex(.)xyz Referral Spam
User ExperienceJoin our forum to discuss Lsex(.)xyz Referral Spam.

There is a yet another referral spam redirect spiraling the Internet and messing with various websites and their Google Analytics statistics. Its name is Lsex(.)xyz and it boosts the internet traffic of its affiliate websites by infecting as many targeted websites as possible. That is how the spam spreads and popularizes affiliate websites. It redirects to activities(.)


What is Lsex(.)xyz Referral Spam?

The referral traffic from Lsex(.)xyz aims towards a targeted website’s analytical data calculated by Google Analytics. It can disrupt that data with fraudulent referral traffic also known as “ghost” traffic. This way it promotes its affiliate websites that want to get higher hits from visits.

The referral spam usually redirects to activities(.), although this might change in just a few days, like other referral spam redirects usually do. Also, the site where the redirect leads to is not the legitimate AliBaba’s affiliate website known as This is how the real site looks like:


Lsex(.)xyz can affect any website by generating fake referral traffic from various locations using Bots, compromised computers and other techniques. The generated fake Internet traffic is used to boost Lsex(.)xyz, its domains and affiliate websites, all of which gain a better SEO ranking as a result.

There 2 basic ways of spreading spam, using Internet Bots:

#1 Web Crawlers

Web crawlers are programmed scripts that “crawl” over the Web, from one site to the next. They can be used for various purposes, but also for malicious purposes as spreading spam very fast. That is done with the crawler fetching and analyzing information about websites, such as no Captchas, no robot identification, not frequently updated or monitored, etc. Web crawlers are programmed in a way, to carefully choose what sites to go to daily, because the bandwidth for such a service is not infinite, nor free.

So, when a site has flagged the crawler and/or its activity for being a spam attack or something unwanted, it backs away and chooses other sites to crawl. However, some crafty spammers might make their programs more efficient for longer periods of time. And such spammers can also pay a number of people to assist them in filling out Captchas.

#2 Ghost Referrals

This type of spam is more sophisticated by nature, hence it’s more efficient. The term “Ghost” here means that the spam has a bigger purpose than only bypassing bot identification. Ben Travis, spam researcher at has identified that this type of spam attacks involves taking advantage of the free HTTP data passing through. This may allow cyber criminals to conduct massive spam campaigns on a website, tamper with the Google Analytics data and devaluate site statistics very fast.

That is so, because most times the internet traffic coming from these bots usually has 100% bounce rate. This means that absolutely no additional action is taken by a user upon visiting the affected website. The internet traffic is redirected to websites written in the Ghost Referral. If you notice a sudden spike in your Google Analytics data brought by Lsex(.)xyz web links you should act fast in blocking it. Some ghost referral spam is even reported to attack different types of analytics data.

Stop Lsex(.)xyz Referral Spam

To stop this referral spam from doing further harm to your website(s), we at STF have researched and found the following removal methods for you to follow:

Method 1: Filtering Lsex(.)xyz Referral Spam Spam in Google Analytics:

Step 1: Click on the ‘Admin’ tab on your GA web page.
Step 2: Choose which ‘View’ is to be filtered and then click the ‘Filters’ button.
Step 3: Click on ‘New Filter’.
Step 4: Write a name, such as ‘Spam Referrals’.
Step 5: On Filter Type choose Custom Filter –>Exclude Filter –> Field: Campaign Source–> Filter Pattern. Then on the Pattern, enter the domain name – Lsex(.)xyz Referral Spam Step 6: Select Views to Apply Filter.
Step 7: Save the filter, by clicking on the ‘Save’ button.

Also, make sure you check out these several methods to help you further block out this referral spam from Google Analytics:

We have also researched the following methods to remove this spam:

Method 2: Block Lsex(.)xyz Referral Spam from your server.

In case you have a server that is Apache HTTP Server, you may want to try the following commands to block Lsex(.)xyz Referral Spam domains in the .htaccess file:

RewriteEngine on

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.xyz/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.com/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.net/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.ga/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.org/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.co/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.ly/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \.ru/ [NC,OR]

RewriteCond %{HTTP_REFERER} ^http://.*Lsex \-for\-website\.xyz/ [NC,OR]

RewriteRule ^(.*)$ – [F,L]

Also here is a web link to some spam URLs being blacklisted from other servers:

Disclaimer: This type of domain blocking in Apache servers has not yet been tested and it should be done by experienced professionals. Backup is always recommended.

Method 3 – Stop Lsex(.)xyz Referral Spam Via WordPress

There is a method outlined by security researchers online that uses WordPress plugins to block referral spams from sites. We have recently seen one particular plugin reported to work, called WP-Ban, but be aware that you may find similar plugins as efficient as this one. WP-Ban has the ability to block users based on their IP address and other information such as the URL, for example.

If you feel like you may have clicked and have been redirected to any of the domains mentioned above, and you think your system may be affected by spam redirects, you should scan your computer with an advanced anti-malware tool. Downloading such software will also make certain your computer is safe against any future intrusions.

Spy Hunter scanner will only detect the threat. If you want the threat to be automatically removed, you need to purchase the full version of the anti-malware tool.Find Out More About SpyHunter Anti-Malware Tool / How to Uninstall SpyHunter


Berta Bilbao

Berta is a dedicated malware researcher, dreaming for a more secure cyber space. Her fascination with IT security began a few years ago when a malware locked her out of her own computer.

More Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.

Share on Facebook Share
Share on Twitter Tweet
Share on Google Plus Share
Share on Linkedin Share
Share on Digg Share
Share on Reddit Share
Share on Stumbleupon Share