How to do A/B testing landing pages with avtopodstavy pages in random order?

Good day,

created two landing pages( 2 landing). We plan to organize a/B testing of user behavior on the website. How you can automatically change the rotation of pages for new users? Roughly speaking, user a sees page a, the user B sees page B, the user sees the page And etc. it is desirable when you refresh the page the same user to the previous version of the page.

Share your experience how can this be done and is there any ready solutions for this. Preferably immediately ready code and instructions by which to organize it.
July 9th 19 at 13:13
1 answer
July 9th 19 at 13:15
It's easier to make ads on different pages directly, so there was a headache with the calculations. Well, on these different pages have other data to put (can be done 1 index.php with different $_GET some that they were processed correctly and expose the desired data). We in the company of 40 pages spinning are almost identical.
How to call data from other pages using index.php? You can write the code, for example alternate data call from land1.php and land2.php? - Anne_Stiedemann commented on July 9th 19 at 13:18
At least even without the php in the iframe, using php and you can include or require either using file_get_contents. Well I can't know what you have in land1.php and land2.php If there are entire blocks in the html then for example on advertising costs code if($_GET['land']==1) { include("land1.php"); } well, then the logic is the same. - ashton.Nitzsche commented on July 9th 19 at 13:21
: thank you, and how to specify the sequence of discovery? First, land1, land2 then, once again, land1 etc. - Anne_Stiedemann commented on July 9th 19 at 13:24
another clarification, if you need to take the entire content of land1, then write like you are above indicated. And there is a need to take a certain block, what need to write? - Anne_Stiedemann commented on July 9th 19 at 13:27
: Comrade, I will not be here to teach development)) If you need it - go for freelancing. The sequence do not need to ask. Just with different ads to send to different sites. - ashton.Nitzsche commented on July 9th 19 at 13:30

Find more questions by tags PHPCMSSystem administrationHTMLJavaScript