mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Google Analytics Ghost Spam Instructions
- How to use the google-exclude and google-disavow files - How to configure segments on Google Analytics
This commit is contained in:
parent
aab28175fd
commit
ce9b36afde
1 changed files with 115 additions and 0 deletions
115
_google_analytics_spam/README.md
Normal file
115
_google_analytics_spam/README.md
Normal file
|
@ -0,0 +1,115 @@
|
|||
<table style="width:100%;margin:0;">
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/_logo_nginx_bad_bot_blocker.png" alt="Stopping Google Analytics Ghost Spam with the Nginx Ultimate Bad Bot Spam Referrer Blocker"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
# EASY CONFIGURATION INSTRUCTIONS FOR STOPPING GOOGLE ANALYTICS "GHOST" SPAM
|
||||
|
||||
Simply using the Nginx blocker does not stop Google Analytics ghost referral spam because they are hitting Analytics directly and not always necessarily touching your website.
|
||||
|
||||
You should use regex filters in Analytics to prevent ghost referral spam.
|
||||
|
||||
For this there are several google-exclude-0*.txt files which have been created for you and they are updated at the same time when the Nginx Blocker is updated. As the list grows there will be more exclude files created.
|
||||
|
||||
## To stop Ghost Spam on On Analytics
|
||||
|
||||
Follow the step by step visual instructions below to add these google-exclude files as segments to your web site.
|
||||
|
||||
<table style="width:100%;margin:0;">
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/google-analytics-ghost-spam-01.jpg" alt="Google Analytics - Adding Segments to Stop Ghost Spam"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/google-analytics-ghost-spam-02.jpg" alt="Google Analytics - Adding Segments to Stop Ghost Spam"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/google-analytics-ghost-spam-03.jpg" alt="Google Analytics - Adding Segments to Stop Ghost Spam"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/google-analytics-ghost-spam-04.jpg" alt="Google Analytics - Adding Segments to Stop Ghost Spam"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/google-analytics-ghost-spam-05.jpg" alt="Google Analytics - Adding Segments to Stop Ghost Spam"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/google-analytics-ghost-spam-06.jpg" alt="Google Analytics - Adding Segments to Stop Ghost Spam"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left"><img src="https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/_assets/google-analytics-ghost-spam-07.jpg" alt="Google Analytics - Adding Segments to Stop Ghost Spam"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
# Also Check Out RefererSpamBlocker
|
||||
|
||||
Also check out [Referer Spam Blocker](https://referrerspamblocker.com)
|
||||
for Google Analytics which uses a collaborated source of spam domains and automatically adds all the filters to your Analytics sites for you in 2 easy clicks and it is FREE. This method uses filters and not Segments but it's fast and easy for those who do not have patience.
|
||||
|
||||
## Blocking Spam Domains Using Google Webmaster Tools
|
||||
|
||||
I have added the creation of a Google Disavow text file called google-disavow.txt. This file can be used in Google's Webmaster Tools to block all these domains out as spammy or bad links. Use with caution.
|
||||
|
||||
### If this helped you why not [buy me a beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BKF9XT6WHATLG):beer:
|
||||
|
||||
# MIT License
|
||||
|
||||
## Copyright (c) 2017 Mitchell Krog - mitchellkrog@gmail.com
|
||||
## https://github.com/mitchellkrogza
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
##### Some other awesome free projects
|
||||
|
||||
- https://github.com/mitchellkrogza/apache-ultimate-bad-bot-blocker
|
||||
- https://github.com/mitchellkrogza/Badd-Boyz-Hosts
|
||||
- https://github.com/mitchellkrogza/fail2ban-useful-scripts
|
||||
- https://github.com/mitchellkrogza/linux-server-administration-scripts
|
||||
- https://github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration
|
||||
- https://github.com/mitchellkrogza/Travis-CI-for-Apache-For-Testing-Apache-and-PHP-Configurations
|
||||
- https://github.com/mitchellkrogza/Fail2Ban-Blacklist-JAIL-for-Repeat-Offenders-with-Perma-Extended-Banning
|
||||
- https://github.com/funilrys/funceble
|
||||
|
||||
##### Into Photography?
|
||||
|
||||
Come drop by and visit me at https://mitchellkrog.com
|
||||
|
||||
### Acknowledgements & Contributors:
|
||||
|
||||
Many Thanks to those contributing to this project.
|
||||
Many parts of the generator scripts and code running behind this project have been adapted from snippets from hundreds of sources.
|
||||
In fact it is so hard to mention everyone but here are a few key people whose little snippets of code have helped me introduce new features all the time.
|
||||
Show them some love and check out some of their projects too.
|
||||
|
||||
- Stuart Cardall - https://github.com/itoffshore (Install, Update and Setup Scripts & Alpine Linux Package Maintainer)
|
||||
- Fulinrys - https://github.com/funilrys/funceble (Excellent script for checking ACTIVE, INACTIVE and EXPIRED Domain Names)
|
||||
- Marius Voila https://github.com/mariusv
|
||||
- Cătălin Mariș https://github.com/alrra
|
||||
- deformhead https://github.com/deformhead
|
||||
- bluedragonz https://github.com/bluedragonz
|
||||
- Alexander https://github.com/shoonois
|
||||
- Steven Black https://github.com/StevenBlack
|
||||
- Fail2Ban - https://github.com/fail2ban
|
||||
- Stevie-Ray Hartog https://github.com/Stevie-Ray
|
||||
- Sir Athos from StackOverFlow - http://stackoverflow.com/users/2245910/sir-athos (help with Travis Build Tagging and Committing)
|
||||
- StackOverflow - http://stackoverflow.com/ (bash scripts from hundreds of questions and answers)
|
||||
- SuperUser - http://superuser.com/ (snippets from various questions and answers)
|
||||
|
||||
If you believe your name should be here, drop me a line.
|
||||
|
||||
### Coding makes me very thirsty [why not buy me a beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BKF9XT6WHATLG):beer:
|
Loading…
Add table
Reference in a new issue