: Block social-buttons.com / simple-share-buttons.com Referral Spam How to remove social-buttons.com / simple-share-buttons.com this type of lots of Referral Spam link they increase 100% bounce rate
How to remove social-buttons.com / simple-share-buttons.com this type of lots of Referral Spam link they increase 100% bounce rate
How to remove this type of referral spam link in via .htaccess or Google Analytic
More posts by @Barnes591
3 Comments
Sorted by latest first Latest Oldest Best
You can also just add a filter so that all traffic from these annoying sites are filtered out of your analytics and do not create fake results.
In Google Analytics go to Admin
Under VIEW select Filters
Add New Filter
Give the filter a name
Select Filter Type: Exclude
Select source destination: traffic to the host name
Select expression: that are equal to
Hostname: social-buttons.com
Verify and save.
This should filter out all their visits.
They use a vulnerability in Google Analytics to make fake visits so the only way to stop them for now, and until Google fix it, is to make a filter in GA since that is the source of the problem.
Blocking them in the .htaccess file is pointless since this kind of Spam never visits your site.
Check this answers for more information about this spam stackoverflow.com/a/29312117/3197362
And this for Referrer Spam in General and some methods you can use to filter them and stop future occurrences stackoverflow.com/a/28354319/3197362
As for the previous/historical data, you can use segments in Google analytics. Create a REGEX with the Spam names something like this:
social-buttons.com|simple-share-buttons.com
You can add as many as you want, but the REGEX has a 255 character limit. You can add multiple conditions if this happens
Go to the Reporting section in your Google Analytics.
In the lateral bar, expand Acquisitions > All Traffic and
Select Referrals.
In the main board Click on +Add Segment.
Click on New Segment.
Select Conditions Below Advanced.
Set filter as Exclude. Change Ad Content for Medium and
contains for exactly matches and type and select referral in the
text box.
Click on AND
Change Ad Content for Source and contains for matches regex
and paste the Spam Regex.
You can block off sites by referrer with .htaccess:
RewriteEngine on
# Options +FollowSymlinks
RewriteCond %{HTTP_REFERER} social-buttons.com [NC,OR]
RewriteCond %{HTTP_REFERER} simple-share-buttons.com
RewriteRule .* - [F]
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.