GithubHelp home page GithubHelp logo

spam-filter-tool's Introduction

Spam Filter Insertion Tool

The Spam Filter Insertion Tool allows you to automatically add and link a number of spam filters to the user's existing Google Analytics profiles.

The tool is built with Bootstrap and the Google Analytics JavaScript API. Because it's the JS API, it's a hallmark of functional, asynchronous chaining which, at some point, will hopefully be obsolete once the calls can be run synchronously.

To get it up and running, you will need to create a new Google API Project under https://code.google.com/apis/console/.

Make sure you've selected the Analytics API for the project.

You will need to create a "Client ID for web application" (set JavaScript Origins to your site and Redirect URIs to empty) as well as a public API key.

In js/authutil.js, modify the clientId and apiKey variables accordingly.

spam-filter-tool's People

Contributors

sahava avatar taurgis avatar uality-marketing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spam-filter-tool's Issues

Suggestions

Hi there, I'm actually building my own similar tool and stumbled on yours. Some suggestions:

  • https://github.com/piwik/referrer-spam-blacklist/blob/master/spammers.txt is a great list for known referral spammers.
  • The filters are regular expressions, so technically you want to escape the period character (e.g. foo\.com). In practice, this doesn't matter too much as there aren't hostnames without periods that we need to worry about matching accidentally.
  • You can combine domains to make shorter expressions (e.g. foo\.com|bar\.com|baz\.com into (foo|bar|baz)\.com). In fact, you can take it even further (e.g. (foo|ba[rz])\.com).

License?

What license are you releasing this code under?

If you pick something that lets me reuse this in my own project, I'd be happy to contribute and improve it. :)

I suggest MIT.

Removes other filters

This script removes other filters that have been implemented before this script is run.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.