GithubHelp home page GithubHelp logo

georges's Introduction

George

Installation

First, create a folder here name "George":

C:\\Wamp\www\1root\library\

Create Folder "database" in George folder

Then in the LP:

include scriptGeorge.php in your LP

Folder CSS

This Folder contains style.css for add styling to George

Folder database

This folder will contains all database and stock data for George

The DB will be name in following this pattern campaign_lan_numLP

The databases are managed with the FlatDB library

File page_abtest.php

File for see data [nb_visit, coonversion, tx, etc...] acces with parameter $_GET['dbName']

File switchGeorge.php

Router action function :

  • changeState = change state for one abtest
  • changeDiscoveryRate = change discovery rate for one abtest
  • addVariationToAbtest = add variation to one abtest
  • editFilter = edit filter for one abtest
  • generateABTEST = Generate ABTEST for developpment with filter and variation
  • delete = delete database
  • createDB = Create on ABTEST
  • addConversion = add Conversion

File scriptGeorge.php

Contains Script for add conversion to LP

Running the tests

  • Start : Go to the url of the root of the folder
https://nomdomaine.fr/library/George/

ADD ABTest

Fill all input with (*) and click on "Start AB Test"

Add this to settings

// START GEORGE use library\George as george; try {

$request_url = George::_getRequestUrl();
$urlInformations = pathinfo($request_url);
if((@$urlInformations['extension']=="php" || empty($urlInformations['extension'])) AND stripos($urlInformations['dirname'],'/lan')){
    $variationName = George::_getVariationNamefromUrl($request_url); //Nom variation actuel
    $george = new George($variationName); // On vérifie si une bdd avec le nom existe
    $george->start();
}

} catch (Exception $e) { echo 'erreur : '; echo $e->getMessage();
// log system }

georges's People

Contributors

fiduide avatar marciv avatar

Watchers

 avatar

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.