Creating a new Netlify Site
Create a site on Netlify from a GitHub repo allow to trigger a deployment on repository update
Creating branch deploys
Netlify settings to deploy all branches
Creating and configuring split tests
“Netlify's Split Testing allows you to silently serve different versions of your sites to your users without compromising performance which would prejudice your test results.”
“The way that this happened on Netlify, it's thanks to Netlify Edge, which allows us to run a thin layer of logic right out on the edge nodes of the CDN that can shape the traffic from one branch to the other depending on rules that we create. Let's go and create some of those rules now.“
Adding branch information to analytics
Add snippet code for Google Analytics about the BRANCH variable
Opt-in betas with branches and split testing
- Set up a split test with two branches as 100% and 0%
- Setup script to create a cookie with “nf_ab: BRANCH_NAME” + reload
- When the user clicks, thanks to the cookie, Netlify will guide the traffic to the specific branch.