@saltnburnem
@saltnburnem
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
https://www.twitch.tv/saltnburnem313
@saltnburnem
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
A/B testing, otherwise known as split testing, is the process of testing two different versions of a web page or product feature against the original, existing version.
- Talia Nassi
@saltnburnem
#BeerCityCode | #DeveloperCommunity
Username
Password
Login
provider
Create Account
@saltnburnem
#BeerCityCode | #DeveloperCommunity
Username
Password
Login
provider
Create Account
Username
Password
Login
provider
Create
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
❗️ Baseline before experiment! ❗️
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
#HalfStackConf | #DeveloperCommunity
@saltnburnem
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
Username
Password
Login
provider
Create Account
Username
Password
Login
provider
Create
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
Username
Password
Login
provider
Create Account
Username
Password
Login
provider
Create
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
// get treatment
let treatment = client.getTreatment('css_demo');
// get features to flip based upon CSS classes
const featureA = document.querySelectorAll('.a');
const featureB = document.querySelectorAll('.b');
if (treatment === 'on') {
featureB.forEach(element => {
element.classList.add('hide')
})
} else if (treatment === 'off') {
featureA.forEach(element => {
element.classList.add('hide')
})
} else {
console.error('Error connecting to Split')
// default rule here
featureA.forEach(element => {
element.classList.add('hide')
})
}
});
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity
@saltnburnem
#BeerCityCode | #DeveloperCommunity