N
N
Nikita Kit2017-01-13 13:29:19
MODX
Nikita Kit, 2017-01-13 13:29:19

What quantities and how does the simpleAB test module in MODX manipulate?

On modmore, I recently found a very awesome simpleAB module that can collect data on traffic flowing through certain templates and resources and compare the conversion rate of two different page options. The documentation is very detailed - in half an hour I understood what the module can do and how to apply it correctly.
*reference
I found the only negative in it - it does not have a timer. And it is very lacking for an accurate comparison of traffic conversion. For greater objectivity, it is desirable to collect data at a certain time from such and such to such and such an hour, a certain amount of time equal for both variations. Unfortunately, this timing process is not automated in the module - the project has room for development.
But the question is not about that. I still don't understand (and it's not described in the documentation) where the module gets the data from to the table:
From what values ​​the Picks column is counted
What is measured in the conversions and conversion rate columns.
The units of measurement are not indicated there, therefore, I greet you, dear people of the forum, and I hasten to ask those who had experience with A / B testing in principle - the question is rather in the general terminology of testing, rather than a separate module.
UPD:
I am attaching a screenshot of an example table with data. For a general understanding
a44288172a464ab293e7c018f42519e0.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
Lander, 2017-07-07
@get133312

function httpPost($url, $params) {
    $ch = curl_init();  
    curl_setopt($ch,CURLOPT_URL,$url);
    curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
    curl_setopt($ch,CURLOPT_HEADER, false); 
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $params);    
    $output=curl_exec($ch);
    curl_close($ch);
    return $output;
  }

T
ThunderCat, 2017-07-07
@ThunderCat

foreach($params as $k => $v) {
$postData .= $k . '='.$v.'&';
}

Have you all agreed?$postData = http_build_query($params);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question