Which website design converted more customers?

Python

Does the new website improve sales?

A company has designed a new landing page for A website. I want to make sure that the new page will boost sales and provide AT LEAST a 2% increase in our conversion rates.

They have tested the new page for some of our users, and compiled data tracking users, group/landing page style, converted (true/false), and the user's country.

I will determine if there was a statistically significant difference between the control (old landing page) and the treatment (new landing page).


Code written in Python below