Advanced PHP Dr. Steven Bitner
A/B and Multivariate testing
Why use multivariate testing If your employer is interested in understanding how effective certain changes are, you may consider A/B or multivariate testing
How to do it First, wonder why your employer yells at you; are you at boot camp? Next, you'll need to determine what you need to test Could be different CSS Possibly different ads to display Link && || button locations Veri-sign or other seals effectiveness
Code in action http://kc-sce- sphp01.kc.umkc.edu/~bitners/multivariate.php Store variant in session or cookie Display that variation of the code Log results via a click tracking software or simple redirect script
APIs
What are APIs Application Programmer Interfaces If needed, you can create one for your site Use POST or GET method If needed, authenticate the requester with assigned verification hashes Return the requested data
Accessing other APIs Like everything else in CS, some are very well documented and others are attrocious Google APIs are pretty useful and well documented, so we'll discuss those
Google Charts https://google- developers.appspot.com/chart/interactive/docs/quick_star t Full API reference - https://google- developers.appspot.com/chart/interactive/docs/reference
Sample code The code here displays the click track data collected by the script in the multivariate portion of this lecture http://kc-sce-sphp01.kc.umkc.edu/~bitners/report.php
Other Google APIs Google has APIs for ad revenue Google Maps Google Calendar The list goes on
mTurk Artificial-artificial intelligence Owned/operated by Amazon Amazon Web Services AWS is a suite of APIs for various services including cloud storage and cheap labor access Menial tasks
Recommend
More recommend