Want to learn A/B testing with JavaScript?
- The foundations of A/B testing with JavaScript in this free mini-course
- Run your A/B test scripts in any testing tool
- Make fast test proposals with the Chrome Developers tools
- Stop test pollution by preventing flickering
- Trigger your test at exactly the right time
- Run A/B tests on any type of website
- Move away from the limitations of visual editors
- Don’t need any prior coding experience

“I must say your content is awesome. Just wanted to say thanks so much.” – Ana Catarina Cizilio
“Your content gives a fresh perspective of doing A/B tests, something that is a very big part of CRO.” – Pramathesh
Video 1: How to run A/B tests with JavaScript in Google Optimize?
Duration: 7 minutes
Key takeaways:
- How to install Google Optimize?
- How to set up an A/B test with JavaScript in Google Optimize?
- How to verify that your Google Optimize A/B test is running?
Video 2: How to use the Chrome Developer Tools for A/B test development?
Duration: 5 minutes
Key takeaways:
- How to inspect elements with the Chrome Developer Tools?
- How to edit elements with the Chrome Developer Tools?
- How to use the Chrome Developer Console?
Video 3: How to reduce A/B test flickering with an observer function?
Duration: 5 minutes
Key takeaways:
- What is an observer function?
- How to write an observer function?
- How to use an observer function?

Video 4: How to prevent A/B test flickering using pre-hiding?
Duration: 4 minutes
Key takeaways:
- What is pre-hiding with CSS?
- How to pre-hide elements with CSS?
- How to reveal hidden elements with JavaScript?
Video 5: How to trigger A/B tests with Google Tag Manager?
Duration: 5 minutes
Key takeaways:
- How to set up an event-triggered A/B test with Google Optimize?
- How to trigger your event-triggered Google Optimize A/B test with JavaScript?
- How to create a trigger tag in Google Tag Manager?
Video 6: How to run A/B tests on Single Page Applications?
Duration: 4 minutes
Key takeaways:
- What are Single Page Applications?
- What is the challenge with Single Page Applications?
- How to create an observer function that pools for element changes on Single Page Applications?
“Keep up the good work!” – Luka Nikolić
“Finally, someone who codes something more complex than changing a title.” – Panagiotis Stamoulis