Code Monkey home page Code Monkey logo

strangemetrics's Introduction

Strange Metrics is an Open Source Fraud Management Service (FMS) aimed at fighting the non-legit activity in the Affiliates industry.

Resources

You can get product information in the Wiki.

We use Milestones and Issues to track both bugs and product development.

You can also follow @strangemetrics in twitter to get the latest developments.

Requisites

SM runs on LAMP or LEMP stacks. It requires MySQL 5 and PHP 7.

You can see the PHP dependencies in the composer.json file.

Collaborating

If you are looking to collaborate with the project, you are more than welcome!

Easiest thing is to start with the open issues. But since it is a very early stage in the project, there are much more things to do! Feel free to drop me a line to [email protected] with your ideas, suggestions and we'll find a match for you to improve the product.

strangemetrics's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

daniloef bellyfat

strangemetrics's Issues

Detection details

Show in the detections table if a trigger was executed and the exact information of what happened.

Reports Scrapper

Get report from Tracking Platform API and save raw data in S3.
Notify a new report was downloaded.
Test with large API requests and responses.

Notifier

Table where all controllers submit messages and then the Notifier controller sends the messages using the Mailgun configuration.

Framework and Users

Framework Selection and Users controller to create the application style definitions in Database, Controller and Views.

Analysis management

Controller and View for the Analysis settings.

Select an integration
Filter to apply (offer_ids CSV or categories CSV)
Metrics trigger
Metrics to notify
Metrics to block

Metrics to operate: Impressions, Clicks, Conversions.

Note: Only the Conversion report can be Grouped. When grouped, metrics can be applied AVG, MIN and MAX.

Sample Metrics trigger

Report: [Get stats, Conversion report]
Period: [Today, Yesterday, This month]

When in report row:
{conversions}/{clicks} > 0.05
AND
{conversions} > 3

Another sample Metrics trigger

Report: [Get stats, Conversion report]
Period: [Today, Yesterday, This month]
Group by: {session IP}
When in a report row

{conversions} > 2 AND
AVG(time_diff} < {1 hour}

Dashboard

Set up controllers and views to welcome user and explain the configuration needed to install the application.

Once all the settings are done, show a summary of the last Analysis and Open Cases. An example Dashboard:

Welcome

Let's set up your Strange Metrics installation, you will find all the instructions in the Wiki.

Dashboard

Last analysis 19 minutes ago
There were 23 detections associated to offer ID XXX and affiliate YYY. See details.
You have 12 open Cases, 3 of have been created more than 2 weeks ago.

Analysis triggers

In the Analysis create / edit view, user is able to select the actions to trigger when the an analysis returns true.

[ ] Notify me
[ ] Notify me and affiliate
[ ] Notify me, affiliate and disable traffic

User has the option to set up the message to send to the user with {offer_id}, {clicks}, {cr} and the usual macros at her disposal.

Cases

Controllers and Views for listing and managing each case.

Status [open, defined, resolved]
Offer ID
Affiliate ID

API actions

Table where all the other controllers asks for actions on the Tracking platform API, ie: disable a link in HasOffers.

Apply Analysis

Apply analysis to new reports downloaded by #4
Save analysis results and the settings used (in case they are changed)
Create jobs to follow (notifications, blocks and case creations)

Integration

Controller and View for the HasOffers Settings integration.

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.